Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_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.001462/0.001462, allocations: 190.5 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4666/0.4666, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 98.23 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.179, allocations: 78.44 MB / 493.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.5906, allocations: 72.3 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.7091, allocations: 102.3 MB / 0.6529 GB, free: 7.691 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.7093, allocations: 79.94 kB / 0.653 GB, free: 7.613 MB / 474.7 MB 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.01124/0.7206, allocations: 3.663 MB / 0.6565 GB, free: 3.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.7207, allocations: 8 kB / 0.6565 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.7207, allocations: 11.91 kB / 0.6566 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.721, allocations: 197.1 kB / 0.6567 GB, free: 3.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.721, allocations: 3.984 kB / 0.6567 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.7211, allocations: 7.984 kB / 0.6568 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001493/0.7212, allocations: 47.84 kB / 0.6568 GB, free: 3.648 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.7214, allocations: 73.66 kB / 0.6569 GB, free: 3.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7214, allocations: 0 / 0.6569 GB, free: 3.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.7214, allocations: 3.984 kB / 0.6569 GB, free: 3.566 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.7215, allocations: 0 / 0.6569 GB, free: 3.566 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.7222, allocations: 343.4 kB / 0.6572 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.7223, allocations: 58.5 kB / 0.6573 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.7224, allocations: 37.02 kB / 0.6573 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.7224, allocations: 3.938 kB / 0.6573 GB, free: 3.086 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.7225, allocations: 79.95 kB / 0.6574 GB, free: 2.996 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.7226, allocations: 4 kB / 0.6574 GB, free: 2.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003142/0.7229, allocations: 112.8 kB / 0.6575 GB, free: 2.879 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.7229, allocations: 51.41 kB / 0.6575 GB, free: 2.816 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.723, allocations: 128.8 kB / 0.6577 GB, free: 2.684 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.7231, allocations: 25.7 kB / 0.6577 GB, free: 2.652 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.7232, allocations: 99.97 kB / 0.6578 GB, free: 2.551 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.7232, allocations: 19.72 kB / 0.6578 GB, free: 2.531 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.7232, allocations: 0 / 0.6578 GB, free: 2.531 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.7233, allocations: 326.7 kB / 0.6581 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.7234, allocations: 35.98 kB / 0.6581 GB, free: 2.168 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.7235, allocations: 24 kB / 0.6582 GB, free: 2.145 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/0.7236, allocations: 39.97 kB / 0.6582 GB, free: 2.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7236, allocations: 0 / 0.6582 GB, free: 2.105 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002204/0.7238, allocations: 119.8 kB / 0.6583 GB, free: 1.984 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7238, allocations: 4 kB / 0.6583 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7239, allocations: 4 kB / 0.6583 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7239, allocations: 0 / 0.6583 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.724, allocations: 27.97 kB / 0.6584 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.7241, allocations: 4 kB / 0.6584 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.7242, allocations: 27.83 kB / 0.6584 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.7243, allocations: 4 kB / 0.6584 GB, free: 1.914 MB / 474.7 MB 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.631e-05/0.7244, allocations: 109 kB / 0.6585 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.7244, allocations: 15.8 kB / 0.6585 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.7247, allocations: 114.1 kB / 0.6586 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7247, allocations: 3.094 kB / 0.6586 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7247, allocations: 0 / 0.6586 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7247, allocations: 8 kB / 0.6586 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.7249, allocations: 170.1 kB / 0.6588 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7249, allocations: 0 / 0.6588 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.725, allocations: 30.09 kB / 0.6588 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.725, allocations: 0 / 0.6588 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.7251, allocations: 0 / 0.6588 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7251, allocations: 4 kB / 0.6588 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7251, allocations: 3.938 kB / 0.6588 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002186/0.7253, allocations: 137.9 kB / 0.659 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004012/0.7257, allocations: 0.4974 MB / 0.6594 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.7258, allocations: 88.92 kB / 0.6595 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.7258, allocations: 8 kB / 0.6595 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.726, allocations: 15.98 kB / 0.6595 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.726, allocations: 11.97 kB / 0.6596 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.7261, allocations: 4 kB / 0.6596 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.071e-05/0.7261, allocations: 114.4 kB / 0.6597 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00088/0.727, allocations: 43.88 kB / 0.6597 GB, free: 464 kB / 474.7 MB 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.0001915/0.7272, allocations: 116.8 kB / 0.6598 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.7275, allocations: 139.3 kB / 0.66 GB, free: 184 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7275, allocations: 0 / 0.66 GB, free: 184 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.7276, allocations: 69.69 kB / 0.66 GB, free: 108 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.7278, allocations: 7.906 kB / 0.66 GB, free: 100 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.7283, allocations: 147.5 kB / 0.6602 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.7287, allocations: 0.7153 MB / 0.6609 GB, free: 15.18 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7287, allocations: 4 kB / 0.6609 GB, free: 15.18 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)