Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_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.005023/0.005023, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7439/0.7439, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.722/1.722, allocations: 221.3 MB / 395 MB, free: 10.17 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.001286/0.001286, allocations: 97.25 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5507/0.552, allocations: 88.44 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.7681, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.811/6.579, allocations: 2.124 GB / 2.758 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/6.579, allocations: 83.95 kB / 2.758 GB, free: 106.8 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.8524/7.432, allocations: 223.8 MB / 2.976 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/7.432, allocations: 8 kB / 2.976 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/7.432, allocations: 43.7 kB / 2.976 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/7.432, allocations: 258.5 kB / 2.977 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/7.432, allocations: 123.3 kB / 2.977 GB, free: 158 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/7.432, allocations: 12 kB / 2.977 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002506/7.433, allocations: 136.9 kB / 2.977 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/7.433, allocations: 257 kB / 2.977 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/7.433, allocations: 0 / 2.977 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/7.433, allocations: 0 / 2.977 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/7.433, allocations: 8 kB / 2.977 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/7.434, allocations: 1.524 MB / 2.979 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/7.434, allocations: 177.1 kB / 2.979 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/7.434, allocations: 81.14 kB / 2.979 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/7.434, allocations: 79.22 kB / 2.979 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/7.434, allocations: 105.8 kB / 2.979 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/7.434, allocations: 0 / 2.979 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.713e-05/7.434, allocations: 45.45 kB / 2.979 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/7.434, allocations: 55.41 kB / 2.979 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/7.435, allocations: 201.4 kB / 2.979 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/7.435, allocations: 29.64 kB / 2.979 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/7.435, allocations: 199 kB / 2.979 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/7.435, allocations: 4 kB / 2.979 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/7.435, allocations: 0 / 2.979 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/7.435, allocations: 326.8 kB / 2.98 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/7.435, allocations: 27.98 kB / 2.98 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/7.435, allocations: 154.7 kB / 2.98 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/7.435, allocations: 67.91 kB / 2.98 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/7.435, allocations: 0 / 2.98 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003307/7.435, allocations: 193.1 kB / 2.98 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/7.436, allocations: 4 kB / 2.98 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/7.436, allocations: 4 kB / 2.98 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/7.436, allocations: 8 kB / 2.98 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/7.436, allocations: 39.92 kB / 2.98 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/7.436, allocations: 8.594 kB / 2.98 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/7.436, allocations: 31.67 kB / 2.98 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/7.436, allocations: 8 kB / 2.98 GB, free: 154 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 6.417e-05/7.436, allocations: 188.2 kB / 2.98 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/7.436, allocations: 120.7 kB / 2.981 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/7.436, allocations: 113.5 kB / 2.981 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/7.436, allocations: 176.3 kB / 2.981 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.34e-05/7.436, allocations: 188.2 kB / 2.981 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/7.436, allocations: 176.3 kB / 2.981 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/7.436, allocations: 441.7 kB / 2.982 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/7.436, allocations: 108.9 kB / 2.982 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/7.436, allocations: 105 kB / 2.982 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/7.436, allocations: 176.3 kB / 2.982 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/7.437, allocations: 184.2 kB / 2.982 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.117e-05/7.437, allocations: 180.2 kB / 2.982 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.092e-05/7.437, allocations: 182.1 kB / 2.983 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.087e-05/7.437, allocations: 327.5 kB / 2.983 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002808/7.437, allocations: 0.7109 MB / 2.984 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/7.437, allocations: 194 kB / 2.984 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/7.437, allocations: 184.2 kB / 2.984 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/7.437, allocations: 104.9 kB / 2.984 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/7.437, allocations: 180.3 kB / 2.984 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/7.437, allocations: 108.9 kB / 2.984 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001041/7.437, allocations: 152.2 kB / 2.984 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001247/7.439, allocations: 207.8 kB / 2.985 GB, free: 149.3 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.001031/7.44, allocations: 1.158 MB / 2.986 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001464/7.44, allocations: 75.8 kB / 2.986 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/7.44, allocations: 0 / 2.986 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/7.44, allocations: 0 / 2.986 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/7.44, allocations: 0.5316 MB / 2.986 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/7.441, allocations: 275 kB / 2.987 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/7.441, allocations: 0.7621 MB / 2.987 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/7.441, allocations: 0 / 2.987 GB, free: 146.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)