Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.004302/0.004302, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7588/0.7588, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.502/1.502, 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.0009449/0.0009449, allocations: 97.47 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.435/0.436, allocations: 88.43 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.6317, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.655, allocations: 2.135 GB / 2.768 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/5.656, allocations: 83.95 kB / 2.769 GB, free: 89.49 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 (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$conAir$inlet$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/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 (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$conAirRevFlo$inlet$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/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 (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$sou$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/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 (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$souRev$outlet$backward is not balanced: The number of potential variables (3) 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 1.085/6.741, allocations: 329.2 MB / 3.09 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/6.741, allocations: 8 kB / 3.09 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/6.741, allocations: 31.62 kB / 3.09 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/6.742, allocations: 270.5 kB / 3.09 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/6.742, allocations: 8 kB / 3.09 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/6.742, allocations: 15.94 kB / 3.09 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002137/6.742, allocations: 109.3 kB / 3.09 GB, free: 33.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/6.742, allocations: 307.3 kB / 3.091 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/6.742, allocations: 4 kB / 3.091 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/6.742, allocations: 0 / 3.091 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/6.742, allocations: 11.91 kB / 3.091 GB, free: 32.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/6.744, allocations: 1.719 MB / 3.092 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/6.744, allocations: 165.1 kB / 3.093 GB, free: 30.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/6.744, allocations: 84.14 kB / 3.093 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/6.744, allocations: 79.55 kB / 3.093 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/6.744, allocations: 109.8 kB / 3.093 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/6.744, allocations: 0 / 3.093 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.583e-05/6.744, allocations: 41.55 kB / 3.093 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/6.744, allocations: 51.41 kB / 3.093 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/6.744, allocations: 144.5 kB / 3.093 GB, free: 30.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/6.744, allocations: 25.7 kB / 3.093 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/6.744, allocations: 179.6 kB / 3.093 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/6.744, allocations: 4 kB / 3.093 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/6.744, allocations: 0 / 3.093 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/6.744, allocations: 322.8 kB / 3.094 GB, free: 29.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/6.744, allocations: 0 / 3.094 GB, free: 29.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/6.744, allocations: 40.23 kB / 3.094 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/6.744, allocations: 8 kB / 3.094 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/6.744, allocations: 0 / 3.094 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001288/6.744, allocations: 65.44 kB / 3.094 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/6.744, allocations: 4 kB / 3.094 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/6.744, allocations: 4 kB / 3.094 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/6.744, allocations: 0 / 3.094 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/6.744, allocations: 11.98 kB / 3.094 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/6.745, allocations: 8.094 kB / 3.094 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/6.745, allocations: 4 kB / 3.094 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/6.745, allocations: 4 kB / 3.094 GB, free: 29.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.083e-05/6.745, allocations: 181.6 kB / 3.094 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/6.745, allocations: 112.9 kB / 3.094 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/6.745, allocations: 117.4 kB / 3.094 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/6.745, allocations: 176.3 kB / 3.094 GB, free: 28.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/6.745, allocations: 184.4 kB / 3.094 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/6.745, allocations: 184.2 kB / 3.095 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/6.745, allocations: 453.6 kB / 3.095 GB, free: 28.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/6.745, allocations: 101 kB / 3.095 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/6.745, allocations: 104.9 kB / 3.095 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.944e-05/6.745, allocations: 188.3 kB / 3.095 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/6.745, allocations: 184.2 kB / 3.096 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.703e-05/6.745, allocations: 182 kB / 3.096 GB, free: 27.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.465e-05/6.745, allocations: 176.3 kB / 3.096 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.719e-05/6.745, allocations: 319.6 kB / 3.096 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003078/6.746, allocations: 0.7111 MB / 3.097 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/6.746, allocations: 193.9 kB / 3.097 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/6.746, allocations: 188.1 kB / 3.097 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/6.746, allocations: 109 kB / 3.097 GB, free: 25.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/6.746, allocations: 180.2 kB / 3.098 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/6.746, allocations: 101 kB / 3.098 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.851e-05/6.746, allocations: 112.9 kB / 3.098 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001251/6.747, allocations: 263.5 kB / 3.098 GB, free: 24.86 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.001542/6.749, allocations: 1.505 MB / 3.1 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.052e-05/6.749, allocations: 15.94 kB / 3.1 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/6.749, allocations: 0 / 3.1 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/6.749, allocations: 0 / 3.1 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/6.749, allocations: 0.5305 MB / 3.1 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/6.75, allocations: 283.7 kB / 3.1 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/6.75, allocations: 0.7776 MB / 3.101 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/6.75, allocations: 0 / 3.101 GB, free: 21.66 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)