Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.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.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",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.00305/0.00305, allocations: 179 kB / 7.46 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.8471/0.8471, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.534/1.534, allocations: 221.3 MB / 395 MB, free: 10.24 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.001152/0.001152, allocations: 108.8 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4733/0.4745, allocations: 88.41 MB / 0.5529 GB, free: 88.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.6452, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/1.248, allocations: 112.1 MB / 0.7428 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/1.248, allocations: 72.38 kB / 0.7428 GB, free: 10.8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0109/1.259, allocations: 3.658 MB / 0.7464 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.259, allocations: 9.031 kB / 0.7464 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/1.259, allocations: 7.938 kB / 0.7464 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/1.259, allocations: 202.9 kB / 0.7466 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.259, allocations: 0 / 0.7466 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.259, allocations: 3.469 kB / 0.7466 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001356/1.26, allocations: 39.06 kB / 0.7467 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/1.26, allocations: 76.91 kB / 0.7467 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.26, allocations: 7.906 kB / 0.7467 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/1.26, allocations: 3.781 kB / 0.7467 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.26, allocations: 0 / 0.7467 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/1.261, allocations: 347.3 kB / 0.7471 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/1.261, allocations: 49.83 kB / 0.7471 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/1.261, allocations: 40.86 kB / 0.7472 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/1.261, allocations: 4.75 kB / 0.7472 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/1.261, allocations: 82.77 kB / 0.7472 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/1.261, allocations: 0 / 0.7472 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.000369/1.261, allocations: 103.5 kB / 0.7473 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.261, allocations: 59.55 kB / 0.7474 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/1.261, allocations: 119.4 kB / 0.7475 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/1.261, allocations: 25.7 kB / 0.7475 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/1.262, allocations: 102.1 kB / 0.7476 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/1.262, allocations: 21.34 kB / 0.7477 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/1.262, allocations: 0 / 0.7477 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.262, allocations: 322.5 kB / 0.748 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/1.262, allocations: 28.2 kB / 0.748 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/1.262, allocations: 34.03 kB / 0.748 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/1.262, allocations: 41.95 kB / 0.7481 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.262, allocations: 0 / 0.7481 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002006/1.262, allocations: 117.2 kB / 0.7482 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.262, allocations: 8.062 kB / 0.7482 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.262, allocations: 0.7031 kB / 0.7482 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.262, allocations: 3.938 kB / 0.7482 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/1.262, allocations: 29.34 kB / 0.7482 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.262, allocations: 0 / 0.7482 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.263, allocations: 32.47 kB / 0.7482 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/1.263, allocations: 4.469 kB / 0.7482 GB, free: 24.89 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: 5 ($whenCondition1,$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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.779e-05/1.263, allocations: 105.4 kB / 0.7483 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/1.263, allocations: 12.08 kB / 0.7484 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/1.263, allocations: 117.5 kB / 0.7485 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.263, allocations: 4.516 kB / 0.7485 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.263, allocations: 0 / 0.7485 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.263, allocations: 0.75 kB / 0.7485 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/1.263, allocations: 178.4 kB / 0.7486 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.263, allocations: 0.5156 kB / 0.7486 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/1.263, allocations: 36.89 kB / 0.7487 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/1.263, allocations: 3.875 kB / 0.7487 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.263, allocations: 1.859 kB / 0.7487 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.263, allocations: 0 / 0.7487 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.263, allocations: 0.7969 kB / 0.7487 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002082/1.264, allocations: 125 kB / 0.7488 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003735/1.264, allocations: 0.5032 MB / 0.7493 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/1.264, allocations: 86.11 kB / 0.7494 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.264, allocations: 8.547 kB / 0.7494 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/1.264, allocations: 28.73 kB / 0.7494 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/1.264, allocations: 18.03 kB / 0.7494 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.264, allocations: 4.484 kB / 0.7494 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.886e-05/1.264, allocations: 107.3 kB / 0.7495 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008315/1.265, allocations: 43.16 kB / 0.7496 GB, free: 23.84 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002026/1.266, allocations: 123.3 kB / 0.7497 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002332/1.266, allocations: 129.9 kB / 0.7498 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.266, allocations: 4 kB / 0.7498 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/1.266, allocations: 80.7 kB / 0.7499 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.266, allocations: 8.891 kB / 0.7499 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/1.267, allocations: 133.4 kB / 0.75 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.267, allocations: 0.7258 MB / 0.7507 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.267, allocations: 0 / 0.7507 GB, free: 22.85 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)