Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.8595/0.8595, allocations: 141.8 MB / 149.1 MB, free: 13.98 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.001881, allocations: 185 kB / 182 MB, free: 10.55 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.411/1.411, allocations: 221.3 MB / 436 MB, free: 3.117 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.001419/0.001419, allocations: 88.23 kB / 0.507 GB, free: 18.12 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001934, allocations: 288.3 kB / 0.5885 GB, free: 4.547 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4012/0.4032, allocations: 89.65 MB / 0.676 GB, free: 137.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.568, allocations: 82.78 MB / 0.7568 GB, free: 84.57 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.7046, allocations: 112.7 MB / 0.8669 GB, free: 3.723 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.7049, allocations: 85.02 kB / 0.867 GB, free: 3.641 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.3743/1.079, allocations: 10.69 MB / 0.8774 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.079, allocations: 10.02 kB / 0.8774 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/1.08, allocations: 28.88 kB / 0.8774 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/1.08, allocations: 277.2 kB / 0.8777 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.08, allocations: 7.188 kB / 0.8777 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/1.08, allocations: 9.75 kB / 0.8777 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/1.081, allocations: 0.738 MB / 0.8784 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/1.082, allocations: 207.7 kB / 0.8786 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.082, allocations: 7.984 kB / 0.8787 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/1.082, allocations: 1.312 kB / 0.8787 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.082, allocations: 4.312 kB / 0.8787 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/1.083, allocations: 0.5736 MB / 0.8792 GB, free: 111.9 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/1.084, allocations: 282.5 kB / 0.8795 GB, free: 111.9 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/1.084, allocations: 99.38 kB / 0.8796 GB, free: 111.9 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/1.084, allocations: 20.05 kB / 0.8796 GB, free: 111.9 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/1.084, allocations: 156.5 kB / 0.8797 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=35): time 2.335e-06/1.084, allocations: 0 / 0.8797 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of matching and sorting (n=35): time 0.0005393/1.085, allocations: 269.3 kB / 0.88 GB, free: 111.7 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.085, allocations: 138.5 kB / 0.8801 GB, free: 111.6 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/1.085, allocations: 261.1 kB / 0.8804 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/1.085, allocations: 27.56 kB / 0.8804 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/1.085, allocations: 105.6 kB / 0.8805 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.085, allocations: 114.6 kB / 0.8806 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/1.085, allocations: 0 / 0.8806 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/1.085, allocations: 341.6 kB / 0.8809 GB, free: 111 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/1.085, allocations: 73.48 kB / 0.881 GB, free: 111 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/1.086, allocations: 117.9 kB / 0.8811 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/1.086, allocations: 97.88 kB / 0.8812 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.086, allocations: 0.5156 kB / 0.8812 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004486/1.086, allocations: 267.9 kB / 0.8815 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.086, allocations: 5.406 kB / 0.8815 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.086, allocations: 3.938 kB / 0.8815 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.086, allocations: 1.562 kB / 0.8815 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/1.087, allocations: 66.05 kB / 0.8816 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.087, allocations: 9.531 kB / 0.8816 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/1.087, allocations: 21.03 kB / 0.8816 GB, free: 110.9 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/1.087, allocations: 9.031 kB / 0.8816 GB, free: 110.9 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 (36): * Single equations (assignments): 36 * 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.149e-05/1.087, allocations: 113.5 kB / 0.8817 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/1.087, allocations: 29.39 kB / 0.8817 GB, free: 110.7 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/1.088, allocations: 380.2 kB / 0.8821 GB, free: 110.7 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.088, allocations: 4.359 kB / 0.8821 GB, free: 110.7 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.088, allocations: 0 / 0.8821 GB, free: 110.7 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.088, allocations: 5.953 kB / 0.8821 GB, free: 110.6 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/1.088, allocations: 313.7 kB / 0.8824 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.088, allocations: 0.6094 kB / 0.8824 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/1.088, allocations: 56.59 kB / 0.8825 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.088, allocations: 2.953 kB / 0.8825 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/1.088, allocations: 10.02 kB / 0.8825 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.088, allocations: 1.5 kB / 0.8825 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.088, allocations: 4.516 kB / 0.8825 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004412/1.089, allocations: 307.1 kB / 0.8828 GB, free: 110.4 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004922/1.089, allocations: 0.6734 MB / 0.8834 GB, free: 109.9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/1.089, allocations: 161.1 kB / 0.8836 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/1.09, allocations: 1.906 kB / 0.8836 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/1.09, allocations: 27.39 kB / 0.8836 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/1.09, allocations: 26.78 kB / 0.8836 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/1.09, allocations: 16.45 kB / 0.8836 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002005/1.09, allocations: 212.2 kB / 0.8838 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009559/1.091, allocations: 78.59 kB / 0.8839 GB, free: 109.7 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 (35): * Single equations (assignments): 34 * 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.0008056/1.092, allocations: 318.1 kB / 0.8842 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004464/1.092, allocations: 216.2 kB / 0.8844 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.092, allocations: 1.156 kB / 0.8844 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.093, allocations: 123.1 kB / 0.8846 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/1.093, allocations: 29.38 kB / 0.8846 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.094, allocations: 407.6 kB / 0.885 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/1.095, allocations: 0.8273 MB / 0.8858 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of SimCode: time 2.81e-07/1.095, allocations: 0 / 0.8858 GB, free: 108.7 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)