Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_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.003523/0.003523, allocations: 178.2 kB / 7.455 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.7712/0.7712, allocations: 133.5 MB / 141.3 MB, free: 15.77 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.565/1.565, allocations: 221.3 MB / 395 MB, free: 10.25 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.001046/0.001047, allocations: 103 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4727/0.4737, allocations: 88.43 MB / 0.5529 GB, free: 88.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.6683, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.199/4.867, allocations: 1.68 GB / 2.313 GB, free: 476 kB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/4.867, allocations: 83.95 kB / 2.313 GB, free: 392 kB / 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.526/6.393, allocations: 291.7 MB / 2.598 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/6.393, allocations: 15.12 kB / 2.598 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/6.393, allocations: 27.19 kB / 2.598 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/6.393, allocations: 254.9 kB / 2.599 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/6.393, allocations: 7.031 kB / 2.599 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/6.393, allocations: 14.75 kB / 2.599 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/6.394, allocations: 59.44 kB / 2.599 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/6.394, allocations: 230.2 kB / 2.599 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/6.394, allocations: 2.156 kB / 2.599 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/6.394, allocations: 0 / 2.599 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/6.394, allocations: 7.906 kB / 2.599 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/6.395, allocations: 1.358 MB / 2.6 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/6.395, allocations: 170.7 kB / 2.6 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/6.395, allocations: 80.14 kB / 2.601 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/6.395, allocations: 75.28 kB / 2.601 GB, free: 188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/6.395, allocations: 116.9 kB / 2.601 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/6.395, allocations: 0 / 2.601 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.234e-05/6.395, allocations: 37.42 kB / 2.601 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/6.395, allocations: 58.19 kB / 2.601 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/6.395, allocations: 132.5 kB / 2.601 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/6.395, allocations: 25.7 kB / 2.601 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/6.395, allocations: 156.7 kB / 2.601 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/6.395, allocations: 0 / 2.601 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/6.395, allocations: 3.125 kB / 2.601 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/6.396, allocations: 318.5 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/6.396, allocations: 5.375 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/6.396, allocations: 23.38 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/6.396, allocations: 15.27 kB / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/6.396, allocations: 0 / 2.601 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/6.396, allocations: 57.98 kB / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/6.396, allocations: 7.531 kB / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/6.396, allocations: 3.938 kB / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/6.396, allocations: 3.891 kB / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/6.396, allocations: 7.469 kB / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/6.396, allocations: 0 / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/6.396, allocations: 7.281 kB / 2.602 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/6.396, allocations: 7.625 kB / 2.602 GB, free: 187.1 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 7.907e-05/6.396, allocations: 176.3 kB / 2.602 GB, free: 187 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/6.396, allocations: 126.9 kB / 2.602 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/6.396, allocations: 108.3 kB / 2.602 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/6.396, allocations: 184 kB / 2.602 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/6.396, allocations: 183.6 kB / 2.602 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/6.396, allocations: 176.7 kB / 2.602 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/6.397, allocations: 440 kB / 2.603 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/6.397, allocations: 104.5 kB / 2.603 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/6.397, allocations: 103.9 kB / 2.603 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.325e-05/6.397, allocations: 178.7 kB / 2.603 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/6.397, allocations: 176.3 kB / 2.603 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.221e-05/6.397, allocations: 190 kB / 2.604 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-05/6.397, allocations: 182 kB / 2.604 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001041/6.397, allocations: 308.9 kB / 2.604 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003752/6.397, allocations: 0.7164 MB / 2.605 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/6.397, allocations: 186.5 kB / 2.605 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/6.397, allocations: 187.9 kB / 2.605 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/6.397, allocations: 101 kB / 2.605 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/6.398, allocations: 181.3 kB / 2.605 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/6.398, allocations: 101 kB / 2.605 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.864e-05/6.398, allocations: 108.9 kB / 2.606 GB, free: 183 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001239/6.399, allocations: 246.7 kB / 2.606 GB, free: 183 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.001885/6.401, allocations: 1.493 MB / 2.607 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.268e-05/6.401, allocations: 10.41 kB / 2.607 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/6.401, allocations: 2.875 kB / 2.607 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/6.401, allocations: 2.719 kB / 2.607 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/6.401, allocations: 0.5276 MB / 2.608 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/6.402, allocations: 229.6 kB / 2.608 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/6.402, allocations: 0.7512 MB / 2.609 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.174e-06/6.402, allocations: 0 / 2.609 GB, free: 181.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)