Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",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.00445/0.00445, allocations: 180.6 kB / 7.456 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7775/0.7775, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.516/1.516, 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.0009979/0.0009978, allocations: 96.73 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4534/0.4544, allocations: 88.42 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.629, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.263/4.892, allocations: 1.832 GB / 2.465 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/4.893, allocations: 83.95 kB / 2.465 GB, free: 131.3 MB / 0.6823 GB 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 0.7961/5.689, allocations: 199.8 MB / 2.66 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/5.689, allocations: 12.91 kB / 2.66 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/5.69, allocations: 75.17 kB / 2.66 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/5.69, allocations: 302.7 kB / 2.661 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/5.69, allocations: 5.938 kB / 2.661 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/5.69, allocations: 12.44 kB / 2.661 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003887/5.691, allocations: 152 kB / 2.661 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/5.691, allocations: 239.1 kB / 2.661 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/5.691, allocations: 4 kB / 2.661 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/5.691, allocations: 3.984 kB / 2.661 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/5.691, allocations: 5.938 kB / 2.661 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/5.693, allocations: 1.218 MB / 2.662 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/5.693, allocations: 122.2 kB / 2.662 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/5.693, allocations: 82.17 kB / 2.662 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/5.694, allocations: 308.2 kB / 2.663 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/5.694, allocations: 41.12 kB / 2.663 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/5.694, allocations: 0 / 2.663 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.001177/5.695, allocations: 309.9 kB / 2.663 GB, free: 200 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/5.695, allocations: 51.41 kB / 2.663 GB, free: 200 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/5.695, allocations: 182.5 kB / 2.663 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/5.695, allocations: 25.7 kB / 2.663 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/5.695, allocations: 145.1 kB / 2.663 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/5.695, allocations: 51 kB / 2.663 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/5.695, allocations: 4 kB / 2.663 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/5.695, allocations: 325.7 kB / 2.664 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/5.695, allocations: 56.77 kB / 2.664 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/5.696, allocations: 118 kB / 2.664 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/5.696, allocations: 109.8 kB / 2.664 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/5.696, allocations: 0 / 2.664 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000883/5.697, allocations: 307.5 kB / 2.664 GB, free: 199 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/5.697, allocations: 2.906 kB / 2.664 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/5.697, allocations: 6.594 kB / 2.664 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/5.697, allocations: 90.2 kB / 2.664 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/5.698, allocations: 55.92 kB / 2.665 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/5.7, allocations: 1.509 MB / 2.666 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/5.7, allocations: 44.36 kB / 2.666 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/5.7, allocations: 9.25 kB / 2.666 GB, free: 197.4 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001019/5.7, allocations: 111.9 kB / 2.666 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/5.7, allocations: 23.56 kB / 2.666 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009138/5.701, allocations: 310.8 kB / 2.666 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/5.701, allocations: 0 / 2.666 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/5.701, allocations: 2.812 kB / 2.666 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/5.701, allocations: 3.984 kB / 2.666 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/5.702, allocations: 0.6817 MB / 2.667 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/5.702, allocations: 1.094 kB / 2.667 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/5.703, allocations: 49.69 kB / 2.667 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006188/5.703, allocations: 92.95 kB / 2.667 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/5.703, allocations: 2.531 kB / 2.667 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/5.705, allocations: 1.536 MB / 2.669 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/5.705, allocations: 0.9062 kB / 2.669 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001058/5.706, allocations: 438 kB / 2.669 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001209/5.708, allocations: 0.8359 MB / 2.67 GB, free: 194 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/5.708, allocations: 120.9 kB / 2.67 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/5.708, allocations: 2.469 kB / 2.67 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/5.708, allocations: 34.22 kB / 2.67 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/5.708, allocations: 21.2 kB / 2.67 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/5.708, allocations: 5.781 kB / 2.67 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002032/5.709, allocations: 144.7 kB / 2.67 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001526/5.71, allocations: 241.5 kB / 2.671 GB, free: 193.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/5.712, allocations: 1.084 MB / 2.672 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007366/5.713, allocations: 267 kB / 2.672 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/5.713, allocations: 0 / 2.672 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004124/5.713, allocations: 201.8 kB / 2.672 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/5.714, allocations: 86 kB / 2.672 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/5.715, allocations: 348.5 kB / 2.672 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/5.715, allocations: 0.8005 MB / 2.673 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/5.715, allocations: 3.938 kB / 2.673 GB, free: 191.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)