Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004111/0.004111, allocations: 187 kB / 7.463 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7127/0.7127, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009742, allocations: 86.86 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5192/0.5202, allocations: 88.43 MB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.7123, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5846/1.297, allocations: 113 MB / 0.7437 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/1.297, allocations: 71.23 kB / 0.7437 GB, free: 10.97 MB / 0.4948 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.01327/1.31, allocations: 4.971 MB / 0.7486 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.31, allocations: 15.53 kB / 0.7486 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/1.311, allocations: 28.11 kB / 0.7486 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/1.311, allocations: 373.5 kB / 0.749 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/1.311, allocations: 1.312 kB / 0.749 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/1.311, allocations: 3.266 kB / 0.749 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/1.312, allocations: 31.06 kB / 0.749 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/1.312, allocations: 57.61 kB / 0.7491 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.312, allocations: 0 / 0.7491 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.312, allocations: 0 / 0.7491 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.312, allocations: 5.094 kB / 0.7491 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/1.313, allocations: 408.1 kB / 0.7495 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/1.313, allocations: 38.16 kB / 0.7495 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/1.313, allocations: 11.36 kB / 0.7495 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/1.313, allocations: 15.64 kB / 0.7495 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.313, allocations: 30.56 kB / 0.7496 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.313, allocations: 0 / 0.7496 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000258/1.313, allocations: 74.2 kB / 0.7496 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.313, allocations: 59.58 kB / 0.7497 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/1.314, allocations: 445.8 kB / 0.7501 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.314, allocations: 25.7 kB / 0.7501 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/1.314, allocations: 126.9 kB / 0.7503 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/1.314, allocations: 4.422 kB / 0.7503 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.314, allocations: 0 / 0.7503 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002197/1.314, allocations: 348.4 kB / 0.7506 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/1.314, allocations: 6.906 kB / 0.7506 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/1.314, allocations: 8.234 kB / 0.7506 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/1.314, allocations: 8.938 kB / 0.7506 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.314, allocations: 0 / 0.7506 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00013/1.315, allocations: 73.67 kB / 0.7507 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.315, allocations: 4.453 kB / 0.7507 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.315, allocations: 0 / 0.7507 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.315, allocations: 3.875 kB / 0.7507 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/1.315, allocations: 11.34 kB / 0.7507 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.315, allocations: 3.938 kB / 0.7507 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/1.315, allocations: 13.94 kB / 0.7507 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.315, allocations: 4.469 kB / 0.7507 GB, free: 24.92 MB / 0.5105 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 0.0001027/1.315, allocations: 104.9 kB / 0.7508 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/1.315, allocations: 27.83 kB / 0.7508 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/1.315, allocations: 94.47 kB / 0.7509 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.315, allocations: 4 kB / 0.7509 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.315, allocations: 0.7969 kB / 0.7509 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.315, allocations: 0 / 0.7509 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/1.316, allocations: 250.1 kB / 0.7512 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.316, allocations: 0 / 0.7512 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/1.316, allocations: 10.69 kB / 0.7512 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.316, allocations: 7.75 kB / 0.7512 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/1.316, allocations: 4.562 kB / 0.7512 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.316, allocations: 4 kB / 0.7512 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.316, allocations: 3.938 kB / 0.7512 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001877/1.316, allocations: 168.3 kB / 0.7514 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00036/1.316, allocations: 0.5415 MB / 0.7519 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.317, allocations: 127.1 kB / 0.752 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/1.317, allocations: 4 kB / 0.752 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.317, allocations: 10.8 kB / 0.752 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/1.317, allocations: 3.031 kB / 0.752 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/1.317, allocations: 3.906 kB / 0.752 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005754/1.317, allocations: 357 kB / 0.7524 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008708/1.318, allocations: 34.48 kB / 0.7524 GB, free: 23.7 MB / 0.5105 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.000805/1.319, allocations: 267.7 kB / 0.7527 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001162/1.319, allocations: 24.19 kB / 0.7527 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.319, allocations: 0 / 0.7527 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/1.319, allocations: 12.27 kB / 0.7527 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/1.32, allocations: 29.8 kB / 0.7527 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/1.321, allocations: 369.9 kB / 0.7531 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/1.321, allocations: 0.8106 MB / 0.7539 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.321, allocations: 0 / 0.7539 GB, free: 22.7 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)