Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.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.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",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.001142/0.001142, allocations: 183.4 kB / 7.462 MB, free: 488 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.828/0.828, allocations: 133.5 MB / 141.4 MB, free: 3.859 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.3 MB / 395 MB, free: 14.06 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 83.64 kB / 477.8 MB, free: 3.996 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.507/0.5081, allocations: 88.44 MB / 0.5529 GB, free: 90.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.7161, allocations: 82.29 MB / 0.6333 GB, free: 38.47 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.8737, allocations: 111.4 MB / 0.7421 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.874, allocations: 67.97 kB / 0.7422 GB, free: 6.809 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.006154/0.8802, allocations: 1.678 MB / 0.7438 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.8803, allocations: 8 kB / 0.7438 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.8803, allocations: 11.84 kB / 0.7438 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.8807, allocations: 198.9 kB / 0.744 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8807, allocations: 4 kB / 0.744 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.8807, allocations: 12 kB / 0.7441 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001732/0.8809, allocations: 43.98 kB / 0.7441 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.8811, allocations: 89.66 kB / 0.7442 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8811, allocations: 3.906 kB / 0.7442 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.8811, allocations: 4 kB / 0.7442 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8811, allocations: 0 / 0.7442 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.8817, allocations: 325.2 kB / 0.7445 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.8819, allocations: 70.56 kB / 0.7446 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.882, allocations: 50.83 kB / 0.7446 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.882, allocations: 4 kB / 0.7446 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.8822, allocations: 91.38 kB / 0.7447 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.8822, allocations: 0 / 0.7447 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000244/0.8824, allocations: 109.5 kB / 0.7448 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.8825, allocations: 89.09 kB / 0.7449 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.8826, allocations: 119 kB / 0.745 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.8826, allocations: 25.7 kB / 0.745 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.8827, allocations: 95.98 kB / 0.7451 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.8827, allocations: 11.81 kB / 0.7451 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.8827, allocations: 0 / 0.7451 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8829, allocations: 326.8 kB / 0.7454 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.883, allocations: 47.98 kB / 0.7455 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.883, allocations: 43.92 kB / 0.7455 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.8831, allocations: 27.98 kB / 0.7456 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8831, allocations: 0 / 0.7456 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000206/0.8833, allocations: 121.5 kB / 0.7457 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8833, allocations: 4 kB / 0.7457 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8834, allocations: 4 kB / 0.7457 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8834, allocations: 3.906 kB / 0.7457 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.8835, allocations: 19.98 kB / 0.7457 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.8835, allocations: 3.984 kB / 0.7457 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.8837, allocations: 27.98 kB / 0.7457 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.8837, allocations: 4.156 kB / 0.7457 GB, free: 2.945 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001438/0.8839, allocations: 149.9 kB / 0.7459 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.8839, allocations: 11.91 kB / 0.7459 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.884, allocations: 12.28 kB / 0.7459 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.884, allocations: 0 / 0.7459 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.884, allocations: 8.062 kB / 0.7459 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.884, allocations: 0 / 0.7459 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.8841, allocations: 170.2 kB / 0.7461 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8841, allocations: 0 / 0.7461 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.8842, allocations: 19.98 kB / 0.7461 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8843, allocations: 0 / 0.7461 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.8843, allocations: 4 kB / 0.7461 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8843, allocations: 3.906 kB / 0.7461 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8843, allocations: 3.984 kB / 0.7461 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001983/0.8845, allocations: 141 kB / 0.7462 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003371/0.8848, allocations: 0.5013 MB / 0.7467 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.8849, allocations: 85.11 kB / 0.7468 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.885, allocations: 7.938 kB / 0.7468 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.8852, allocations: 31.97 kB / 0.7469 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.8854, allocations: 47.78 kB / 0.7469 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.8854, allocations: 4 kB / 0.7469 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.99e-05/0.8855, allocations: 98.73 kB / 0.747 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000767/0.8862, allocations: 31.98 kB / 0.747 GB, free: 1.523 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001388/0.8864, allocations: 99.25 kB / 0.7471 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.8867, allocations: 171.3 kB / 0.7473 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8867, allocations: 0 / 0.7473 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.8868, allocations: 89.69 kB / 0.7474 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.887, allocations: 7.938 kB / 0.7474 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.8875, allocations: 147.6 kB / 0.7475 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.8878, allocations: 0.7114 MB / 0.7482 GB, free: 236 kB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.8878, allocations: 0 / 0.7482 GB, free: 236 kB / 0.5294 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)