Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7687/0.7687, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 189.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 90.52 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3689/0.3701, allocations: 82.87 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.607, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6129/1.22, allocations: 103.8 MB / 0.7224 GB, free: 8.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.22, allocations: 83.94 kB / 0.7224 GB, free: 8.488 MB / 490.7 MB 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.01471/1.235, allocations: 4.809 MB / 0.7271 GB, free: 3.645 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.235, allocations: 8 kB / 0.7272 GB, free: 3.637 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.235, allocations: 35.62 kB / 0.7272 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/1.236, allocations: 375.8 kB / 0.7275 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.236, allocations: 3.906 kB / 0.7275 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/1.236, allocations: 4 kB / 0.7276 GB, free: 3.184 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/1.236, allocations: 28 kB / 0.7276 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/1.236, allocations: 65.61 kB / 0.7276 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.236, allocations: 4.734 kB / 0.7276 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.236, allocations: 0 / 0.7276 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.236, allocations: 0 / 0.7276 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/1.237, allocations: 409.1 kB / 0.728 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.237, allocations: 38.61 kB / 0.7281 GB, free: 2.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/1.237, allocations: 12.92 kB / 0.7281 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/1.237, allocations: 4 kB / 0.7281 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.237, allocations: 34.64 kB / 0.7281 GB, free: 2.535 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/1.237, allocations: 3.938 kB / 0.7281 GB, free: 2.531 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002323/1.237, allocations: 73.33 kB / 0.7282 GB, free: 2.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/1.238, allocations: 51.41 kB / 0.7282 GB, free: 2.391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/1.238, allocations: 454 kB / 0.7287 GB, free: 1.945 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.238, allocations: 25.7 kB / 0.7287 GB, free: 1.914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/1.238, allocations: 120 kB / 0.7288 GB, free: 1.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/1.238, allocations: 7.906 kB / 0.7288 GB, free: 1.785 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.238, allocations: 0 / 0.7288 GB, free: 1.785 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/1.238, allocations: 342.8 kB / 0.7292 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/1.238, allocations: 8 kB / 0.7292 GB, free: 1.434 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/1.238, allocations: 15.88 kB / 0.7292 GB, free: 1.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/1.239, allocations: 8 kB / 0.7292 GB, free: 1.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.239, allocations: 0 / 0.7292 GB, free: 1.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001433/1.239, allocations: 73.31 kB / 0.7293 GB, free: 1.332 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.239, allocations: 4 kB / 0.7293 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.239, allocations: 0 / 0.7293 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.239, allocations: 4 kB / 0.7293 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/1.239, allocations: 15.98 kB / 0.7293 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/1.239, allocations: 0 / 0.7293 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/1.239, allocations: 15.91 kB / 0.7293 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/1.239, allocations: 0 / 0.7293 GB, free: 1.293 MB / 490.7 MB 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 8.76e-05/1.239, allocations: 105 kB / 0.7294 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/1.239, allocations: 31.61 kB / 0.7294 GB, free: 1.152 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/1.239, allocations: 88.12 kB / 0.7295 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.239, allocations: 0 / 0.7295 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/1.239, allocations: 4 kB / 0.7295 GB, free: 1.051 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.239, allocations: 4 kB / 0.7295 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/1.24, allocations: 254 kB / 0.7298 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.24, allocations: 0 / 0.7298 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/1.24, allocations: 11.98 kB / 0.7298 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.24, allocations: 0 / 0.7298 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.24, allocations: 4 kB / 0.7298 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.24, allocations: 0 / 0.7298 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.24, allocations: 4 kB / 0.7298 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001933/1.24, allocations: 171.5 kB / 0.7299 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000387/1.24, allocations: 0.5502 MB / 0.7305 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.241, allocations: 124.7 kB / 0.7306 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/1.241, allocations: 4 kB / 0.7306 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.241, allocations: 15.98 kB / 0.7306 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/1.241, allocations: 0 / 0.7306 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.241, allocations: 4 kB / 0.7306 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004318/1.241, allocations: 356.5 kB / 0.731 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008409/1.242, allocations: 43.77 kB / 0.731 GB, free: 15.43 MB / 0.4948 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.0006264/1.243, allocations: 258.5 kB / 0.7312 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001017/1.243, allocations: 31.92 kB / 0.7313 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.243, allocations: 0 / 0.7313 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/1.243, allocations: 12 kB / 0.7313 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/1.243, allocations: 25.27 kB / 0.7313 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/1.244, allocations: 372 kB / 0.7317 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/1.245, allocations: 0.8053 MB / 0.7325 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/1.245, allocations: 0 / 0.7325 GB, free: 13.95 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_Table.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.Table.pipe 2>&1)