Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_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.003728/0.003728, allocations: 185 kB / 7.462 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, 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.545/1.545, allocations: 221.3 MB / 395 MB, free: 10.27 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.001281/0.001281, allocations: 102.6 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5206/0.5219, allocations: 88.44 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.7042, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.32/6.024, allocations: 2.135 GB / 2.768 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/6.024, allocations: 87.94 kB / 2.769 GB, free: 88.96 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.089/7.113, allocations: 329.2 MB / 3.09 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/7.113, allocations: 12 kB / 3.09 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/7.113, allocations: 31.62 kB / 3.09 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/7.113, allocations: 278.4 kB / 3.09 GB, free: 33.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/7.113, allocations: 8 kB / 3.09 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/7.113, allocations: 20 kB / 3.09 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002067/7.114, allocations: 101.3 kB / 3.09 GB, free: 33.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/7.114, allocations: 307.3 kB / 3.091 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/7.114, allocations: 0 / 3.091 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/7.114, allocations: 0 / 3.091 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/7.114, allocations: 15.91 kB / 3.091 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/7.115, allocations: 1.719 MB / 3.092 GB, free: 30.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/7.115, allocations: 169.1 kB / 3.093 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/7.115, allocations: 80.14 kB / 3.093 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/7.116, allocations: 79.27 kB / 3.093 GB, free: 30.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/7.116, allocations: 109.8 kB / 3.093 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/7.116, allocations: 3.938 kB / 3.093 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.463e-05/7.116, allocations: 37.61 kB / 3.093 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/7.116, allocations: 55.41 kB / 3.093 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/7.116, allocations: 140.5 kB / 3.093 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/7.116, allocations: 25.7 kB / 3.093 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/7.116, allocations: 175.6 kB / 3.093 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/7.116, allocations: 0 / 3.093 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/7.116, allocations: 0 / 3.093 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/7.116, allocations: 322.8 kB / 3.094 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/7.116, allocations: 8 kB / 3.094 GB, free: 29.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/7.116, allocations: 36.3 kB / 3.094 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/7.116, allocations: 11.92 kB / 3.094 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/7.116, allocations: 0 / 3.094 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001367/7.116, allocations: 69.44 kB / 3.094 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/7.116, allocations: 8 kB / 3.094 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/7.116, allocations: 0 / 3.094 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/7.116, allocations: 0 / 3.094 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/7.116, allocations: 8 kB / 3.094 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/7.116, allocations: 4 kB / 3.094 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/7.116, allocations: 3.938 kB / 3.094 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/7.116, allocations: 7.984 kB / 3.094 GB, free: 29.48 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 7.588e-05/7.117, allocations: 189.7 kB / 3.094 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/7.117, allocations: 112.9 kB / 3.094 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/7.117, allocations: 113.5 kB / 3.094 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/7.117, allocations: 184.2 kB / 3.094 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/7.117, allocations: 180.2 kB / 3.095 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/7.117, allocations: 176.3 kB / 3.095 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/7.117, allocations: 457.6 kB / 3.095 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/7.117, allocations: 105 kB / 3.095 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/7.117, allocations: 108.9 kB / 3.095 GB, free: 27.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.34e-05/7.117, allocations: 180.3 kB / 3.095 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/7.117, allocations: 180.2 kB / 3.096 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.992e-05/7.117, allocations: 182.1 kB / 3.096 GB, free: 27.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.397e-05/7.117, allocations: 184.2 kB / 3.096 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001235/7.117, allocations: 315.7 kB / 3.096 GB, free: 26.72 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004534/7.118, allocations: 0.7188 MB / 3.097 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/7.118, allocations: 182 kB / 3.097 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/7.118, allocations: 192.2 kB / 3.097 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/7.118, allocations: 101 kB / 3.097 GB, free: 25.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/7.118, allocations: 184.2 kB / 3.098 GB, free: 25.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/7.118, allocations: 104.9 kB / 3.098 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.346e-05/7.118, allocations: 116.9 kB / 3.098 GB, free: 25.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001376/7.12, allocations: 259.6 kB / 3.098 GB, free: 24.8 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.001649/7.121, allocations: 1.488 MB / 3.1 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.7e-05/7.121, allocations: 12.19 kB / 3.1 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/7.121, allocations: 4.062 kB / 3.1 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/7.121, allocations: 4 kB / 3.1 GB, free: 23.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/7.122, allocations: 0.5224 MB / 3.1 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/7.122, allocations: 283.7 kB / 3.1 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/7.122, allocations: 0.7738 MB / 3.101 GB, free: 21.63 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/7.122, allocations: 0 / 3.101 GB, free: 21.63 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)