Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",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.7513/0.7513, allocations: 141.8 MB / 149.1 MB, free: 4.48 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.001106/0.001106, allocations: 177.5 kB / 181.9 MB, free: 128 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.3 MB / 436 MB, free: 9.316 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.000956/0.0009558, allocations: 100.5 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001944/0.001944, allocations: 277.7 kB / 0.5884 GB, free: 12.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2251/0.2271, allocations: 89.64 MB / 0.676 GB, free: 2.559 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.6976, allocations: 82.77 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.8202, allocations: 110.3 MB / 0.8646 GB, free: 2.336 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.8205, allocations: 76.75 kB / 0.8646 GB, free: 2.266 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01351/0.834, allocations: 4.962 MB / 0.8695 GB, free: 13.29 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 7.306e-05/0.8341, allocations: 8 kB / 0.8695 GB, free: 13.28 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.8343, allocations: 28.69 kB / 0.8695 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.8351, allocations: 375.7 kB / 0.8699 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.8352, allocations: 0 / 0.8699 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.8352, allocations: 4.594 kB / 0.8699 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/0.8353, allocations: 36.64 kB / 0.8699 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.8354, allocations: 49.69 kB / 0.87 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8355, allocations: 0.5 kB / 0.87 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.8355, allocations: 4.875 kB / 0.87 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.8355, allocations: 0 / 0.87 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.8362, allocations: 419.2 kB / 0.8704 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.8363, allocations: 31.95 kB / 0.8704 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.8363, allocations: 12.92 kB / 0.8704 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.8364, allocations: 4.75 kB / 0.8704 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.8364, allocations: 31.25 kB / 0.8704 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.8364, allocations: 4.625 kB / 0.8705 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0002499/0.8367, allocations: 77.44 kB / 0.8705 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.8367, allocations: 57.22 kB / 0.8706 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.8373, allocations: 446 kB / 0.871 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.8373, allocations: 25.7 kB / 0.871 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.8374, allocations: 126.8 kB / 0.8712 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.8374, allocations: 3.906 kB / 0.8712 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.8374, allocations: 0.75 kB / 0.8712 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.8376, allocations: 343.5 kB / 0.8715 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.8377, allocations: 9.188 kB / 0.8715 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.8377, allocations: 8 kB / 0.8715 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.8377, allocations: 12.11 kB / 0.8715 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8377, allocations: 1.438 kB / 0.8715 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001616/0.8379, allocations: 73.33 kB / 0.8716 GB, free: 11 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8379, allocations: 4 kB / 0.8716 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.838, allocations: 7.031 kB / 0.8716 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.838, allocations: 0.8125 kB / 0.8716 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.8381, allocations: 18.03 kB / 0.8716 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.8381, allocations: 3.906 kB / 0.8716 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.8383, allocations: 13.17 kB / 0.8716 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.8383, allocations: 0 / 0.8716 GB, free: 10.96 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.747e-05/0.8384, allocations: 105.7 kB / 0.8717 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.8385, allocations: 28.12 kB / 0.8718 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.8387, allocations: 88.19 kB / 0.8718 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.8387, allocations: 0 / 0.8718 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8387, allocations: 0 / 0.8718 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.8387, allocations: 3.906 kB / 0.8718 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.839, allocations: 250.1 kB / 0.8721 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8391, allocations: 4 kB / 0.8721 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.8391, allocations: 8 kB / 0.8721 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.8392, allocations: 5.219 kB / 0.8721 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8392, allocations: 7.938 kB / 0.8721 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.8392, allocations: 7.984 kB / 0.8721 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8392, allocations: 0 / 0.8721 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002257/0.8394, allocations: 167.1 kB / 0.8723 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002989/0.8397, allocations: 0.5503 MB / 0.8728 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.8399, allocations: 124.7 kB / 0.8729 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.8399, allocations: 0 / 0.8729 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.8401, allocations: 11.98 kB / 0.8729 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.8401, allocations: 0 / 0.8729 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8401, allocations: 4 kB / 0.8729 GB, free: 9.504 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0004107/0.8405, allocations: 360.5 kB / 0.8733 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008322/0.8414, allocations: 43.84 kB / 0.8733 GB, free: 9.113 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0006871/0.8421, allocations: 265.1 kB / 0.8736 GB, free: 8.957 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.8422, allocations: 20 kB / 0.8736 GB, free: 8.938 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8422, allocations: 0 / 0.8736 GB, free: 8.938 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.8423, allocations: 8 kB / 0.8736 GB, free: 8.93 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.8427, allocations: 37.25 kB / 0.8736 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.8436, allocations: 368 kB / 0.874 GB, free: 8.5 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.8441, allocations: 0.8071 MB / 0.8748 GB, free: 7.672 MB / 0.5419 GB Notification: Performance of SimCode: time 3.6e-07/0.8441, allocations: 0 / 0.8748 GB, free: 7.672 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)