Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_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.00506/0.00506, allocations: 186 kB / 7.461 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7641/0.7641, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.436/1.436, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009391/0.0009389, allocations: 106.4 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4579/0.4588, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.6298, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/1.158, allocations: 112.1 MB / 0.7428 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.158, allocations: 76.84 kB / 0.7428 GB, free: 10.71 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.0102/1.168, allocations: 3.658 MB / 0.7464 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.168, allocations: 7.688 kB / 0.7464 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/1.168, allocations: 12.39 kB / 0.7464 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/1.169, allocations: 192.4 kB / 0.7466 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.169, allocations: 4.641 kB / 0.7466 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/1.169, allocations: 3.844 kB / 0.7466 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/1.169, allocations: 44.41 kB / 0.7467 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.169, allocations: 77.08 kB / 0.7467 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.169, allocations: 3.906 kB / 0.7467 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.169, allocations: 0.5156 kB / 0.7467 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.169, allocations: 3.844 kB / 0.7467 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/1.17, allocations: 344.4 kB / 0.7471 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.27e-05/1.17, allocations: 57.97 kB / 0.7471 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/1.17, allocations: 32.94 kB / 0.7472 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.17, allocations: 0 / 0.7472 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.17, allocations: 81.67 kB / 0.7472 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/1.17, allocations: 3.938 kB / 0.7472 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002618/1.17, allocations: 100.6 kB / 0.7473 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/1.17, allocations: 54.03 kB / 0.7474 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/1.17, allocations: 126.3 kB / 0.7475 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/1.17, allocations: 26.22 kB / 0.7475 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/1.17, allocations: 97.58 kB / 0.7476 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/1.17, allocations: 20.88 kB / 0.7476 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/1.17, allocations: 0 / 0.7476 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/1.171, allocations: 324 kB / 0.748 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/1.171, allocations: 28.34 kB / 0.748 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/1.171, allocations: 38.48 kB / 0.748 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/1.171, allocations: 42.73 kB / 0.7481 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.171, allocations: 0 / 0.7481 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001932/1.171, allocations: 116.3 kB / 0.7482 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.171, allocations: 3.812 kB / 0.7482 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.171, allocations: 4.703 kB / 0.7482 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.171, allocations: 0 / 0.7482 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.171, allocations: 33.75 kB / 0.7482 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.171, allocations: 0 / 0.7482 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/1.171, allocations: 27.98 kB / 0.7482 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/1.171, allocations: 8.062 kB / 0.7482 GB, free: 24.81 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.19e-05/1.171, allocations: 113.6 kB / 0.7484 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.172, allocations: 8.5 kB / 0.7484 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/1.172, allocations: 119.9 kB / 0.7485 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.172, allocations: 3.844 kB / 0.7485 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/1.172, allocations: 0 / 0.7485 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.172, allocations: 0.75 kB / 0.7485 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.172, allocations: 180.5 kB / 0.7487 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.172, allocations: 0.6562 kB / 0.7487 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/1.172, allocations: 28.83 kB / 0.7487 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.172, allocations: 4.562 kB / 0.7487 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.172, allocations: 0.7031 kB / 0.7487 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.172, allocations: 0.7031 kB / 0.7487 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.172, allocations: 0 / 0.7487 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001925/1.172, allocations: 128.8 kB / 0.7488 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003164/1.173, allocations: 0.5049 MB / 0.7493 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/1.173, allocations: 85.66 kB / 0.7494 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.173, allocations: 4.75 kB / 0.7494 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/1.173, allocations: 27.92 kB / 0.7494 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/1.173, allocations: 13.78 kB / 0.7494 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.173, allocations: 4.641 kB / 0.7494 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.397e-05/1.173, allocations: 107.9 kB / 0.7495 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008303/1.174, allocations: 42.62 kB / 0.7496 GB, free: 23.76 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.0002292/1.174, allocations: 124.5 kB / 0.7497 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002392/1.174, allocations: 130.5 kB / 0.7498 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.174, allocations: 3.812 kB / 0.7498 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/1.175, allocations: 71.22 kB / 0.7499 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/1.175, allocations: 16.11 kB / 0.7499 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/1.175, allocations: 144.4 kB / 0.75 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/1.176, allocations: 0.7215 MB / 0.7507 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.176, allocations: 0 / 0.7507 GB, free: 22.76 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)