Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.003323/0.003323, allocations: 181.4 kB / 7.459 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6825/0.6825, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.52/1.52, allocations: 221.3 MB / 395 MB, free: 10.18 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.001261/0.001261, allocations: 99.45 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4822/0.4835, allocations: 88.42 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.6841, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.36/6.044, allocations: 2.129 GB / 2.763 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/6.044, allocations: 79.95 kB / 2.763 GB, free: 113.1 MB / 0.6823 GB [/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$conAir$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$conAir$inlet$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$conAirRevFlo$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$conAirRevFlo$inlet$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$conAirRevFlo$inlet$backward 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/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$sou$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/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$souRev$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$souRev$outlet$backward is not balanced: The number of potential variables (1) 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.6887/6.733, allocations: 136.9 MB / 2.896 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/6.733, allocations: 11.81 kB / 2.896 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/6.733, allocations: 23.28 kB / 2.896 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/6.733, allocations: 244.7 kB / 2.897 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/6.733, allocations: 11.31 kB / 2.897 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/6.733, allocations: 9.469 kB / 2.897 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/6.733, allocations: 44.88 kB / 2.897 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/6.734, allocations: 209.5 kB / 2.897 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/6.734, allocations: 7.75 kB / 2.897 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/6.734, allocations: 3.75 kB / 2.897 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/6.734, allocations: 3.906 kB / 2.897 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/6.735, allocations: 1.524 MB / 2.898 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/6.735, allocations: 171.9 kB / 2.899 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/6.735, allocations: 84.02 kB / 2.899 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/6.735, allocations: 75.28 kB / 2.899 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/6.735, allocations: 105.8 kB / 2.899 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/6.735, allocations: 3.938 kB / 2.899 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.042e-05/6.735, allocations: 40.3 kB / 2.899 GB, free: 205 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/6.735, allocations: 51.41 kB / 2.899 GB, free: 205 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/6.735, allocations: 139.5 kB / 2.899 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/6.735, allocations: 33.17 kB / 2.899 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/6.735, allocations: 152 kB / 2.899 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/6.735, allocations: 0 / 2.899 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/6.735, allocations: 0 / 2.899 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/6.735, allocations: 317.9 kB / 2.899 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/6.735, allocations: 13.95 kB / 2.899 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/6.735, allocations: 48.83 kB / 2.9 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/6.735, allocations: 10.92 kB / 2.9 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/6.735, allocations: 3.531 kB / 2.9 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001478/6.735, allocations: 71.14 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/6.735, allocations: 3.875 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/6.735, allocations: 3.875 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/6.735, allocations: 0 / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/6.736, allocations: 15.12 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/6.736, allocations: 6.719 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/6.736, allocations: 3.812 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/6.736, allocations: 10.81 kB / 2.9 GB, free: 204.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.137e-05/6.736, allocations: 186.1 kB / 2.9 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/6.736, allocations: 108.8 kB / 2.9 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/6.736, allocations: 123.7 kB / 2.9 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/6.736, allocations: 176.3 kB / 2.9 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-05/6.736, allocations: 176.3 kB / 2.9 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/6.736, allocations: 183.6 kB / 2.901 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/6.736, allocations: 425.4 kB / 2.901 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/6.736, allocations: 108.5 kB / 2.901 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/6.736, allocations: 104.1 kB / 2.901 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4e-05/6.736, allocations: 183.4 kB / 2.901 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/6.736, allocations: 187.4 kB / 2.902 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.914e-05/6.736, allocations: 176.3 kB / 2.902 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.422e-05/6.736, allocations: 184.4 kB / 2.902 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.307e-05/6.736, allocations: 313.9 kB / 2.902 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002748/6.737, allocations: 0.6959 MB / 2.903 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/6.737, allocations: 185.8 kB / 2.903 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/6.737, allocations: 184 kB / 2.903 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/6.737, allocations: 104.9 kB / 2.903 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/6.737, allocations: 183.6 kB / 2.903 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/6.737, allocations: 107 kB / 2.904 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.977e-05/6.737, allocations: 110.6 kB / 2.904 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001004/6.738, allocations: 122 kB / 2.904 GB, free: 200.2 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.0008042/6.739, allocations: 0.7465 MB / 2.905 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.905e-05/6.739, allocations: 17.38 kB / 2.905 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/6.739, allocations: 0 / 2.905 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/6.739, allocations: 3.562 kB / 2.905 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/6.739, allocations: 0.5277 MB / 2.905 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/6.74, allocations: 219.2 kB / 2.905 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/6.74, allocations: 0.7288 MB / 2.906 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/6.74, allocations: 0 / 2.906 GB, free: 198.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)