Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7629/0.7629, allocations: 141.8 MB / 149.1 MB, free: 0.9023 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 192.5 kB / 181.9 MB, free: 13.05 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 436 MB, free: 5.828 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 104.4 kB / 0.507 GB, free: 19.13 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.001919, allocations: 272.5 kB / 0.5884 GB, free: 6.953 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.44/0.4419, allocations: 89.64 MB / 0.676 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.6145, allocations: 82.78 MB / 0.7568 GB, free: 88.95 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.7456, allocations: 111.6 MB / 0.8658 GB, free: 9.211 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.746, allocations: 94.44 kB / 0.8659 GB, free: 9.121 MB / 0.5419 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.3367/1.083, allocations: 9.822 MB / 0.8755 GB, free: 114 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.083, allocations: 7.594 kB / 0.8755 GB, free: 114 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/1.083, allocations: 32.64 kB / 0.8755 GB, free: 114 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/1.083, allocations: 264 kB / 0.8758 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.083, allocations: 6.625 kB / 0.8758 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/1.083, allocations: 10.28 kB / 0.8758 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007986/1.084, allocations: 0.7256 MB / 0.8765 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/1.084, allocations: 193.7 kB / 0.8767 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.085, allocations: 0 / 0.8767 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.085, allocations: 3.906 kB / 0.8767 GB, free: 113.7 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.085, allocations: 3.469 kB / 0.8767 GB, free: 113.7 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/1.085, allocations: 0.5363 MB / 0.8772 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/1.086, allocations: 212.9 kB / 0.8774 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.086, allocations: 85.66 kB / 0.8775 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/1.086, allocations: 20.8 kB / 0.8775 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/1.086, allocations: 153.1 kB / 0.8776 GB, free: 113.4 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/1.086, allocations: 0 / 0.8776 GB, free: 113.4 MB / 0.5419 GB Notification: Performance of matching and sorting (n=33): time 0.0004552/1.086, allocations: 258 kB / 0.8779 GB, free: 113.4 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.087, allocations: 139.5 kB / 0.878 GB, free: 113.2 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/1.087, allocations: 254.1 kB / 0.8783 GB, free: 113.1 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.087, allocations: 25.7 kB / 0.8783 GB, free: 113.1 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/1.087, allocations: 101.3 kB / 0.8784 GB, free: 113 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/1.087, allocations: 105.6 kB / 0.8785 GB, free: 112.9 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.087, allocations: 0 / 0.8785 GB, free: 112.9 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/1.087, allocations: 342.3 kB / 0.8788 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/1.087, allocations: 73.02 kB / 0.8789 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/1.087, allocations: 120.1 kB / 0.879 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/1.087, allocations: 99.12 kB / 0.8791 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.087, allocations: 0 / 0.8791 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003657/1.088, allocations: 256.8 kB / 0.8793 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.088, allocations: 3.469 kB / 0.8793 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.088, allocations: 0 / 0.8793 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.088, allocations: 3.125 kB / 0.8793 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/1.088, allocations: 63.72 kB / 0.8794 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/1.088, allocations: 0 / 0.8794 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/1.088, allocations: 31.27 kB / 0.8794 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/1.088, allocations: 8.062 kB / 0.8794 GB, free: 112.5 MB / 0.5419 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 8.82e-05/1.088, allocations: 112.3 kB / 0.8796 GB, free: 112.4 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/1.088, allocations: 32.59 kB / 0.8796 GB, free: 112.4 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/1.089, allocations: 371.9 kB / 0.8799 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.089, allocations: 2.906 kB / 0.8799 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.089, allocations: 3.719 kB / 0.8799 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.089, allocations: 3.141 kB / 0.8799 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/1.089, allocations: 293.4 kB / 0.8802 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.089, allocations: 3.312 kB / 0.8802 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/1.089, allocations: 65.17 kB / 0.8803 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/1.09, allocations: 0 / 0.8803 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/1.09, allocations: 10.28 kB / 0.8803 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.09, allocations: 0 / 0.8803 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.09, allocations: 3.938 kB / 0.8803 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003525/1.09, allocations: 296.6 kB / 0.8806 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004307/1.09, allocations: 0.663 MB / 0.8812 GB, free: 111.6 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.09, allocations: 163.6 kB / 0.8814 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/1.091, allocations: 3.516 kB / 0.8814 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/1.091, allocations: 11.19 kB / 0.8814 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/1.091, allocations: 22.19 kB / 0.8814 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/1.091, allocations: 14.98 kB / 0.8814 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001729/1.091, allocations: 208.4 kB / 0.8816 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009141/1.092, allocations: 72.95 kB / 0.8817 GB, free: 111.4 MB / 0.5419 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.0006423/1.093, allocations: 318 kB / 0.882 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003711/1.093, allocations: 209.5 kB / 0.8822 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.093, allocations: 0 / 0.8822 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/1.093, allocations: 117.8 kB / 0.8823 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/1.093, allocations: 21.09 kB / 0.8823 GB, free: 111.2 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/1.094, allocations: 391.6 kB / 0.8827 GB, free: 111.1 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/1.094, allocations: 0.814 MB / 0.8835 GB, free: 110.4 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/1.094, allocations: 1.469 kB / 0.8835 GB, free: 110.4 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)