Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_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.003336/0.003336, allocations: 182.8 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.7259/0.7259, 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.888/1.888, 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.001194/0.001194, allocations: 101.2 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.497/0.4983, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.6825, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6179/1.3, allocations: 114.2 MB / 0.7449 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.301, allocations: 87.36 kB / 0.745 GB, free: 10.84 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.02826/1.329, allocations: 9.826 MB / 0.7546 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.329, allocations: 8.906 kB / 0.7546 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/1.329, allocations: 24.38 kB / 0.7546 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/1.33, allocations: 273.1 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.33, allocations: 5.594 kB / 0.7549 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/1.33, allocations: 11.72 kB / 0.7549 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/1.331, allocations: 0.7198 MB / 0.7556 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/1.332, allocations: 195.3 kB / 0.7558 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.332, allocations: 0 / 0.7558 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/1.332, allocations: 0 / 0.7558 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/1.332, allocations: 15.39 kB / 0.7558 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/1.333, allocations: 0.5276 MB / 0.7563 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/1.333, allocations: 212.6 kB / 0.7565 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/1.333, allocations: 89.91 kB / 0.7566 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/1.334, allocations: 23.34 kB / 0.7566 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/1.334, allocations: 156.2 kB / 0.7567 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/1.334, allocations: 0 / 0.7567 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.000547/1.334, allocations: 254.7 kB / 0.757 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/1.335, allocations: 135.8 kB / 0.7571 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/1.335, allocations: 263.5 kB / 0.7574 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/1.335, allocations: 29.64 kB / 0.7574 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/1.335, allocations: 102.2 kB / 0.7575 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.335, allocations: 103.7 kB / 0.7576 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.335, allocations: 0 / 0.7576 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.335, allocations: 338.4 kB / 0.7579 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.335, allocations: 72.38 kB / 0.758 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.336, allocations: 113.1 kB / 0.7581 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/1.336, allocations: 96.78 kB / 0.7582 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.336, allocations: 4 kB / 0.7582 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004996/1.336, allocations: 256.8 kB / 0.7584 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.336, allocations: 4.969 kB / 0.7584 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.336, allocations: 0.8438 kB / 0.7584 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.336, allocations: 4.75 kB / 0.7584 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/1.337, allocations: 61.78 kB / 0.7585 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.337, allocations: 5.344 kB / 0.7585 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/1.337, allocations: 21.73 kB / 0.7585 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.337, allocations: 15.84 kB / 0.7585 GB, free: 23.44 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.000119/1.337, allocations: 108.1 kB / 0.7586 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/1.337, allocations: 28 kB / 0.7587 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007026/1.338, allocations: 374.1 kB / 0.759 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.338, allocations: 3.594 kB / 0.759 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.338, allocations: 5.219 kB / 0.759 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.338, allocations: 0 / 0.759 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/1.338, allocations: 308 kB / 0.7593 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.338, allocations: 0 / 0.7593 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.338, allocations: 59.27 kB / 0.7594 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.338, allocations: 5.391 kB / 0.7594 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.338, allocations: 3.875 kB / 0.7594 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.338, allocations: 1.062 kB / 0.7594 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.338, allocations: 1.062 kB / 0.7594 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004341/1.339, allocations: 298.3 kB / 0.7597 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005699/1.339, allocations: 0.6694 MB / 0.7603 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/1.34, allocations: 163.1 kB / 0.7605 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/1.34, allocations: 1.312 kB / 0.7605 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/1.34, allocations: 13.2 kB / 0.7605 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/1.34, allocations: 21.59 kB / 0.7605 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.34, allocations: 15.83 kB / 0.7605 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002116/1.34, allocations: 212 kB / 0.7607 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008971/1.341, allocations: 67.98 kB / 0.7608 GB, free: 22.07 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.0007108/1.342, allocations: 320.3 kB / 0.7611 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003711/1.342, allocations: 207.8 kB / 0.7613 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.342, allocations: 5.031 kB / 0.7613 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/1.342, allocations: 120.8 kB / 0.7614 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/1.343, allocations: 22.92 kB / 0.7615 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/1.344, allocations: 392 kB / 0.7618 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.344, allocations: 0.8133 MB / 0.7626 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/1.344, allocations: 0 / 0.7626 GB, free: 20.93 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)