Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.002995/0.002995, allocations: 182.6 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.719/0.719, 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.433/1.433, 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.0009723/0.0009721, allocations: 97.09 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4223/0.4233, allocations: 88.43 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.5985, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4852/1.084, allocations: 114.2 MB / 0.7449 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.084, allocations: 87.84 kB / 0.745 GB, free: 10.32 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02737/1.112, allocations: 9.825 MB / 0.7546 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.112, allocations: 13.09 kB / 0.7546 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/1.112, allocations: 24 kB / 0.7546 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/1.112, allocations: 273 kB / 0.7549 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/1.112, allocations: 5.281 kB / 0.7549 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/1.112, allocations: 12.5 kB / 0.7549 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/1.113, allocations: 0.7249 MB / 0.7556 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/1.114, allocations: 191.1 kB / 0.7558 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.114, allocations: 4 kB / 0.7558 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/1.114, allocations: 0 / 0.7558 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/1.114, allocations: 5.188 kB / 0.7558 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.115, allocations: 0.5239 MB / 0.7563 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/1.115, allocations: 211.4 kB / 0.7565 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/1.115, allocations: 100 kB / 0.7566 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/1.115, allocations: 15.61 kB / 0.7566 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/1.116, allocations: 156.8 kB / 0.7567 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/1.116, allocations: 1.031 kB / 0.7567 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0005552/1.116, allocations: 256.8 kB / 0.757 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.116, allocations: 137.1 kB / 0.7571 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/1.117, allocations: 259.7 kB / 0.7574 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/1.117, allocations: 30.95 kB / 0.7574 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/1.117, allocations: 101.2 kB / 0.7575 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/1.117, allocations: 105.5 kB / 0.7576 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/1.117, allocations: 1.125 kB / 0.7576 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.117, allocations: 336.3 kB / 0.7579 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/1.117, allocations: 76.08 kB / 0.758 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/1.118, allocations: 117.8 kB / 0.7581 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/1.118, allocations: 98.84 kB / 0.7582 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.118, allocations: 0 / 0.7582 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004513/1.118, allocations: 253.8 kB / 0.7584 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.118, allocations: 5.188 kB / 0.7584 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.118, allocations: 0 / 0.7584 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.118, allocations: 5.969 kB / 0.7584 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/1.119, allocations: 62.03 kB / 0.7585 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.119, allocations: 4.906 kB / 0.7585 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/1.119, allocations: 25.98 kB / 0.7585 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/1.119, allocations: 11.94 kB / 0.7585 GB, free: 22.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001174/1.119, allocations: 107.3 kB / 0.7586 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/1.119, allocations: 32.23 kB / 0.7587 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/1.12, allocations: 368.3 kB / 0.759 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.12, allocations: 3.562 kB / 0.759 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.12, allocations: 0 / 0.759 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.12, allocations: 4.953 kB / 0.759 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/1.12, allocations: 310.2 kB / 0.7593 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.12, allocations: 1.062 kB / 0.7593 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/1.12, allocations: 51.19 kB / 0.7594 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.12, allocations: 5.031 kB / 0.7594 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/1.12, allocations: 8.125 kB / 0.7594 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.12, allocations: 2.094 kB / 0.7594 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.12, allocations: 0 / 0.7594 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004984/1.121, allocations: 302.8 kB / 0.7597 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005318/1.121, allocations: 0.662 MB / 0.7603 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/1.122, allocations: 159.3 kB / 0.7605 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/1.122, allocations: 1.031 kB / 0.7605 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/1.122, allocations: 12.14 kB / 0.7605 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/1.122, allocations: 22.53 kB / 0.7605 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/1.122, allocations: 19.89 kB / 0.7605 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000206/1.122, allocations: 214.8 kB / 0.7607 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009406/1.123, allocations: 61.22 kB / 0.7608 GB, free: 21.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007207/1.124, allocations: 321.2 kB / 0.7611 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003843/1.124, allocations: 212.2 kB / 0.7613 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.124, allocations: 1.031 kB / 0.7613 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.124, allocations: 118.4 kB / 0.7614 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/1.125, allocations: 21.12 kB / 0.7614 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/1.126, allocations: 393.6 kB / 0.7618 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.126, allocations: 0.813 MB / 0.7626 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.126, allocations: 0 / 0.7626 GB, free: 20.41 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)