Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004172/0.004172, allocations: 180.6 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6941/0.6941, allocations: 133.5 MB / 141.4 MB, free: 15.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 94.58 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5091/0.5103, allocations: 88.44 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.7094, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.116/5.825, allocations: 2.124 GB / 2.758 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.825, allocations: 83.95 kB / 2.758 GB, free: 115.6 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$bacPro_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$outlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.8485/6.674, allocations: 223.8 MB / 2.976 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/6.674, allocations: 12 kB / 2.976 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/6.674, allocations: 39.7 kB / 2.976 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/6.675, allocations: 257.2 kB / 2.977 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/6.675, allocations: 123.3 kB / 2.977 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/6.675, allocations: 12 kB / 2.977 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002531/6.675, allocations: 136.9 kB / 2.977 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/6.675, allocations: 257 kB / 2.977 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/6.675, allocations: 0 / 2.977 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/6.675, allocations: 8 kB / 2.977 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/6.675, allocations: 4 kB / 2.977 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/6.677, allocations: 1.524 MB / 2.979 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/6.677, allocations: 165.1 kB / 2.979 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/6.677, allocations: 88.12 kB / 2.979 GB, free: 165 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/6.677, allocations: 75.28 kB / 2.979 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/6.677, allocations: 109.8 kB / 2.979 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/6.677, allocations: 0 / 2.979 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.727e-05/6.677, allocations: 41.45 kB / 2.979 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/6.677, allocations: 55.41 kB / 2.979 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/6.677, allocations: 209.3 kB / 2.979 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/6.677, allocations: 29.64 kB / 2.979 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/6.677, allocations: 191.1 kB / 2.979 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/6.677, allocations: 11.98 kB / 2.979 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-06/6.677, allocations: 0 / 2.979 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/6.677, allocations: 322.8 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/6.677, allocations: 31.98 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/6.677, allocations: 154.9 kB / 2.98 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/6.678, allocations: 59.91 kB / 2.98 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/6.678, allocations: 4 kB / 2.98 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003717/6.678, allocations: 193.6 kB / 2.98 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/6.678, allocations: 12 kB / 2.98 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/6.678, allocations: 4 kB / 2.98 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/6.678, allocations: 8 kB / 2.98 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/6.678, allocations: 35.92 kB / 2.98 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/6.678, allocations: 8 kB / 2.98 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/6.678, allocations: 15.75 kB / 2.98 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/6.678, allocations: 15.98 kB / 2.98 GB, free: 163.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/6.678, allocations: 192.7 kB / 2.98 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/6.679, allocations: 120.7 kB / 2.981 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/6.679, allocations: 117.5 kB / 2.981 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/6.679, allocations: 184.3 kB / 2.981 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/6.679, allocations: 184.2 kB / 2.981 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/6.679, allocations: 176.3 kB / 2.981 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/6.679, allocations: 441.7 kB / 2.982 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/6.679, allocations: 108.9 kB / 2.982 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/6.679, allocations: 105 kB / 2.982 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.958e-05/6.679, allocations: 180.3 kB / 2.982 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/6.679, allocations: 180.2 kB / 2.982 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-05/6.679, allocations: 184.2 kB / 2.982 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-05/6.679, allocations: 182.1 kB / 2.983 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.474e-05/6.679, allocations: 315.6 kB / 2.983 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002357/6.679, allocations: 0.7148 MB / 2.984 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/6.679, allocations: 194 kB / 2.984 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/6.68, allocations: 184.2 kB / 2.984 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/6.68, allocations: 104.9 kB / 2.984 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/6.68, allocations: 176.3 kB / 2.984 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/6.68, allocations: 108.9 kB / 2.984 GB, free: 159 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001013/6.68, allocations: 156.2 kB / 2.984 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001329/6.681, allocations: 219.8 kB / 2.985 GB, free: 158.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/6.683, allocations: 1.15 MB / 2.986 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001566/6.683, allocations: 79.78 kB / 2.986 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.683, allocations: 1.25 kB / 2.986 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/6.683, allocations: 0 / 2.986 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/6.683, allocations: 0.5303 MB / 2.986 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/6.683, allocations: 271.4 kB / 2.987 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/6.684, allocations: 0.7661 MB / 2.987 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/6.684, allocations: 0 / 2.987 GB, free: 155.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)