Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.0031/0.0031, allocations: 179.8 kB / 7.456 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.6943/0.6943, allocations: 133.5 MB / 141.4 MB, free: 15.75 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.506/1.506, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009644/0.0009644, allocations: 97.22 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.472/0.473, allocations: 88.43 MB / 0.5529 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.6531, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.009/4.662, allocations: 1.68 GB / 2.313 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/4.662, allocations: 83.95 kB / 2.314 GB, free: 3.633 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$conAir$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$conAir$inlet$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$conAirRevFlo$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$conAirRevFlo$inlet$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$conAirRevFlo$inlet$backward 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$sou$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$souRev$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$souRev$outlet$backward 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 1.44/6.102, allocations: 291.7 MB / 2.598 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/6.102, allocations: 10.84 kB / 2.598 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/6.102, allocations: 25.75 kB / 2.598 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/6.103, allocations: 259.4 kB / 2.599 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/6.103, allocations: 6.719 kB / 2.599 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/6.103, allocations: 9.562 kB / 2.599 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001296/6.103, allocations: 63.5 kB / 2.599 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/6.103, allocations: 222.4 kB / 2.599 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/6.103, allocations: 0 / 2.599 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/6.103, allocations: 3.781 kB / 2.599 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/6.103, allocations: 3.781 kB / 2.599 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/6.104, allocations: 1.366 MB / 2.6 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/6.104, allocations: 171.9 kB / 2.6 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/6.104, allocations: 83.73 kB / 2.601 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/6.104, allocations: 75.28 kB / 2.601 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/6.104, allocations: 105.8 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/6.104, allocations: 3.531 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.838e-05/6.104, allocations: 33.2 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/6.104, allocations: 52.16 kB / 2.601 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/6.104, allocations: 141.9 kB / 2.601 GB, free: 187 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/6.104, allocations: 25.7 kB / 2.601 GB, free: 187 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/6.104, allocations: 154.1 kB / 2.601 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/6.104, allocations: 0 / 2.601 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/6.104, allocations: 0 / 2.601 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/6.104, allocations: 321.9 kB / 2.601 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/6.105, allocations: 6.188 kB / 2.601 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/6.105, allocations: 29.73 kB / 2.601 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/6.105, allocations: 3.781 kB / 2.601 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/6.105, allocations: 6.25 kB / 2.601 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/6.105, allocations: 60.58 kB / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/6.105, allocations: 3.688 kB / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/6.105, allocations: 3.562 kB / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/6.105, allocations: 0 / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/6.105, allocations: 11.03 kB / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/6.105, allocations: 0 / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/6.105, allocations: 10.66 kB / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/6.105, allocations: 3.938 kB / 2.602 GB, free: 186.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.626e-05/6.105, allocations: 179.4 kB / 2.602 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/6.105, allocations: 115.9 kB / 2.602 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/6.105, allocations: 114.3 kB / 2.602 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/6.105, allocations: 184.1 kB / 2.602 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.744e-05/6.105, allocations: 177.7 kB / 2.602 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/6.105, allocations: 178.7 kB / 2.602 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/6.105, allocations: 437.5 kB / 2.603 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/6.105, allocations: 104.5 kB / 2.603 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/6.105, allocations: 103.6 kB / 2.603 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.302e-05/6.105, allocations: 183.2 kB / 2.603 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/6.106, allocations: 184.2 kB / 2.603 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.753e-05/6.106, allocations: 183.3 kB / 2.604 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-05/6.106, allocations: 182 kB / 2.604 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.934e-05/6.106, allocations: 319.2 kB / 2.604 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003168/6.106, allocations: 0.7069 MB / 2.605 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/6.106, allocations: 190.3 kB / 2.605 GB, free: 183 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/6.106, allocations: 182 kB / 2.605 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/6.106, allocations: 103.3 kB / 2.605 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/6.106, allocations: 183.8 kB / 2.605 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/6.106, allocations: 106.4 kB / 2.605 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.734e-05/6.106, allocations: 105 kB / 2.606 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001237/6.108, allocations: 249 kB / 2.606 GB, free: 182.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.001736/6.109, allocations: 1.494 MB / 2.607 GB, free: 182 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/6.109, allocations: 8.594 kB / 2.607 GB, free: 182 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/6.109, allocations: 2.906 kB / 2.607 GB, free: 182 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/6.109, allocations: 0 / 2.607 GB, free: 182 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/6.11, allocations: 0.524 MB / 2.608 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/6.11, allocations: 229.2 kB / 2.608 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/6.11, allocations: 0.746 MB / 2.609 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/6.11, allocations: 0 / 2.609 GB, free: 180.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)