Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.8156/0.8156, allocations: 141.8 MB / 149.1 MB, free: 4.008 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.001258/0.001259, allocations: 186.6 kB / 181.9 MB, free: 15.69 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.464/1.464, allocations: 221.4 MB / 436 MB, free: 8.793 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.00101/0.00101, allocations: 101.4 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001914/0.001914, allocations: 270.8 kB / 0.5884 GB, free: 11.83 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2069/0.2088, allocations: 89.64 MB / 0.676 GB, free: 2.102 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.668, allocations: 82.76 MB / 0.7568 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.799, allocations: 111.5 MB / 0.8657 GB, free: 0.8281 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.7993, allocations: 92.59 kB / 0.8658 GB, free: 0.7422 MB / 0.5263 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.02594/0.8253, allocations: 9.738 MB / 0.8753 GB, free: 7.008 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8253, allocations: 8 kB / 0.8753 GB, free: 7 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.8254, allocations: 23.72 kB / 0.8753 GB, free: 6.977 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.8258, allocations: 271.9 kB / 0.8756 GB, free: 6.672 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.8258, allocations: 8.578 kB / 0.8756 GB, free: 6.664 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.8258, allocations: 8 kB / 0.8756 GB, free: 6.656 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008423/0.8267, allocations: 0.7222 MB / 0.8763 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.827, allocations: 195.4 kB / 0.8765 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.827, allocations: 0 / 0.8765 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.8271, allocations: 0 / 0.8765 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.8271, allocations: 4 kB / 0.8765 GB, free: 5.723 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008027/0.8279, allocations: 0.5266 MB / 0.877 GB, free: 5.156 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.8283, allocations: 285.3 kB / 0.8773 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.8285, allocations: 93.39 kB / 0.8774 GB, free: 4.777 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.8285, allocations: 20.25 kB / 0.8774 GB, free: 4.758 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.8288, allocations: 157.8 kB / 0.8775 GB, free: 4.594 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.8288, allocations: 0 / 0.8775 GB, free: 4.594 MB / 0.5419 GB Notification: Performance of matching and sorting (n=34): time 0.0004953/0.8293, allocations: 257.2 kB / 0.8778 GB, free: 4.336 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.8294, allocations: 132.5 kB / 0.8779 GB, free: 4.176 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.8298, allocations: 255 kB / 0.8781 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.8298, allocations: 32.14 kB / 0.8782 GB, free: 3.883 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.8299, allocations: 104.7 kB / 0.8783 GB, free: 3.777 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.83, allocations: 106.4 kB / 0.8784 GB, free: 3.672 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.83, allocations: 0 / 0.8784 GB, free: 3.672 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8302, allocations: 338.7 kB / 0.8787 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.8303, allocations: 71.98 kB / 0.8788 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.8305, allocations: 127.2 kB / 0.8789 GB, free: 3.125 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.8306, allocations: 100.1 kB / 0.879 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.8306, allocations: 0 / 0.879 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004043/0.8311, allocations: 261.6 kB / 0.8792 GB, free: 2.766 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8311, allocations: 4 kB / 0.8792 GB, free: 2.762 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.8311, allocations: 3.984 kB / 0.8792 GB, free: 2.758 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8311, allocations: 0 / 0.8792 GB, free: 2.758 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.8314, allocations: 59.91 kB / 0.8793 GB, free: 2.699 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8314, allocations: 4 kB / 0.8793 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.8315, allocations: 23.75 kB / 0.8793 GB, free: 2.672 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.8316, allocations: 18.17 kB / 0.8793 GB, free: 2.656 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 (35): * Single equations (assignments): 35 * 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.0001104/0.8317, allocations: 108.9 kB / 0.8794 GB, free: 2.543 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.8318, allocations: 23.72 kB / 0.8795 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.8325, allocations: 387.4 kB / 0.8798 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8325, allocations: 4 kB / 0.8798 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8325, allocations: 0 / 0.8798 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8325, allocations: 15.92 kB / 0.8799 GB, free: 2.141 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.8329, allocations: 297.8 kB / 0.8801 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8329, allocations: 4 kB / 0.8801 GB, free: 1.809 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.8331, allocations: 51.97 kB / 0.8802 GB, free: 1.758 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8331, allocations: 1.125 kB / 0.8802 GB, free: 1.758 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.8331, allocations: 8 kB / 0.8802 GB, free: 1.75 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.03e-05/0.8332, allocations: 4 kB / 0.8802 GB, free: 1.746 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8332, allocations: 3.984 kB / 0.8802 GB, free: 1.742 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004663/0.8336, allocations: 305.9 kB / 0.8805 GB, free: 1.422 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005727/0.8342, allocations: 0.663 MB / 0.8811 GB, free: 0.7383 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.8344, allocations: 160.6 kB / 0.8813 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.8344, allocations: 0 / 0.8813 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.8346, allocations: 11.98 kB / 0.8813 GB, free: 0.5508 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.8347, allocations: 23.97 kB / 0.8813 GB, free: 0.5273 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.8347, allocations: 15.98 kB / 0.8813 GB, free: 0.5117 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001895/0.8349, allocations: 209.6 kB / 0.8815 GB, free: 316 kB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009149/0.8358, allocations: 64.58 kB / 0.8816 GB, free: 252 kB / 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 (34): * Single equations (assignments): 33 * 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.0007064/0.8365, allocations: 322.3 kB / 0.8819 GB, free: 28 kB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.8369, allocations: 219.8 kB / 0.8821 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8369, allocations: 0 / 0.8821 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.8371, allocations: 115.9 kB / 0.8822 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.8373, allocations: 23.42 kB / 0.8823 GB, free: 15.68 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.838, allocations: 400.8 kB / 0.8826 GB, free: 15.26 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.8385, allocations: 0.8138 MB / 0.8834 GB, free: 14.41 MB / 0.5575 GB Notification: Performance of SimCode: time 2.5e-07/0.8385, allocations: 0 / 0.8834 GB, free: 14.41 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)