Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_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.006649/0.006649, allocations: 180.8 kB / 7.461 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7692/0.7692, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.693/1.693, allocations: 221.3 MB / 395 MB, free: 10.18 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.001073/0.001073, allocations: 98.7 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5534/0.5545, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.7553, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6361/1.392, allocations: 113 MB / 0.7437 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.392, allocations: 73.55 kB / 0.7437 GB, free: 11 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.01305/1.405, allocations: 4.963 MB / 0.7486 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.405, allocations: 7.75 kB / 0.7486 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/1.405, allocations: 31.95 kB / 0.7486 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/1.406, allocations: 380.4 kB / 0.749 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.406, allocations: 4.688 kB / 0.749 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/1.406, allocations: 0 / 0.749 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.034e-05/1.406, allocations: 29.69 kB / 0.749 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/1.406, allocations: 53.67 kB / 0.7491 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.406, allocations: 0 / 0.7491 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.406, allocations: 3.938 kB / 0.7491 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.406, allocations: 7.656 kB / 0.7491 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/1.407, allocations: 409.8 kB / 0.7495 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/1.407, allocations: 34.48 kB / 0.7495 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/1.407, allocations: 13.38 kB / 0.7495 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/1.407, allocations: 7.969 kB / 0.7495 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.407, allocations: 35.16 kB / 0.7496 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.407, allocations: 4 kB / 0.7496 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002056/1.407, allocations: 73.62 kB / 0.7496 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.407, allocations: 51.41 kB / 0.7497 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/1.408, allocations: 446.8 kB / 0.7501 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.408, allocations: 25.7 kB / 0.7501 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/1.408, allocations: 123.7 kB / 0.7502 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/1.408, allocations: 4.609 kB / 0.7502 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/1.408, allocations: 0 / 0.7502 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.408, allocations: 353.6 kB / 0.7506 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/1.408, allocations: 7.594 kB / 0.7506 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/1.408, allocations: 4.406 kB / 0.7506 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/1.408, allocations: 8.328 kB / 0.7506 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.408, allocations: 0 / 0.7506 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000127/1.408, allocations: 78.06 kB / 0.7507 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.408, allocations: 8.078 kB / 0.7507 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.408, allocations: 0 / 0.7507 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.408, allocations: 0 / 0.7507 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.408, allocations: 18.84 kB / 0.7507 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.408, allocations: 0 / 0.7507 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/1.408, allocations: 10 kB / 0.7507 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/1.408, allocations: 0.5625 kB / 0.7507 GB, free: 24.95 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 7.535e-05/1.409, allocations: 105.6 kB / 0.7508 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/1.409, allocations: 34.88 kB / 0.7508 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/1.409, allocations: 83.53 kB / 0.7509 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.409, allocations: 4.031 kB / 0.7509 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.409, allocations: 0.5625 kB / 0.7509 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.409, allocations: 1.375 kB / 0.7509 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/1.409, allocations: 248.9 kB / 0.7512 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.409, allocations: 0.75 kB / 0.7512 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/1.409, allocations: 17.3 kB / 0.7512 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.409, allocations: 5.188 kB / 0.7512 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.409, allocations: 4.516 kB / 0.7512 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.409, allocations: 1.188 kB / 0.7512 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.409, allocations: 4.453 kB / 0.7512 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001674/1.409, allocations: 167.7 kB / 0.7514 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000235/1.41, allocations: 0.5509 MB / 0.7519 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.41, allocations: 128.9 kB / 0.752 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/1.41, allocations: 0.7969 kB / 0.752 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.41, allocations: 9.891 kB / 0.752 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/1.41, allocations: 2.594 kB / 0.752 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/1.41, allocations: 5.797 kB / 0.752 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004371/1.411, allocations: 359.2 kB / 0.7524 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008303/1.411, allocations: 33.22 kB / 0.7524 GB, free: 23.73 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.0006095/1.412, allocations: 265.4 kB / 0.7527 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001009/1.412, allocations: 18.33 kB / 0.7527 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.412, allocations: 3.938 kB / 0.7527 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/1.412, allocations: 16.16 kB / 0.7527 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/1.412, allocations: 34.27 kB / 0.7527 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/1.413, allocations: 368.1 kB / 0.7531 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/1.414, allocations: 0.8071 MB / 0.7539 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of SimCode: time 3.9e-07/1.414, allocations: 0 / 0.7539 GB, free: 22.74 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)