Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.8118/0.8118, allocations: 127.4 MB / 134.7 MB, free: 9.766 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 181.3 kB / 164.4 MB, free: 5.441 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 399.1 MB, free: 3.02 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009423/0.0009426, allocations: 86.47 kB / 476.3 MB, free: 11.72 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2164/0.2173, allocations: 82.89 MB / 0.5461 GB, free: 8.859 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.7644, allocations: 76.75 MB / 0.621 GB, free: 58.93 MB / 466.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.9153, allocations: 103.2 MB / 0.7218 GB, free: 5.336 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.9156, allocations: 79.94 kB / 0.7219 GB, free: 5.258 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.007466/0.9231, allocations: 2.056 MB / 0.7239 GB, free: 3.195 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.9232, allocations: 12 kB / 0.7239 GB, free: 3.184 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.9232, allocations: 13.45 kB / 0.7239 GB, free: 3.172 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.9236, allocations: 214.3 kB / 0.7241 GB, free: 2.926 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.9236, allocations: 4 kB / 0.7241 GB, free: 2.922 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.9237, allocations: 4 kB / 0.7241 GB, free: 2.918 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000192/0.9239, allocations: 71.95 kB / 0.7242 GB, free: 2.848 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.9241, allocations: 93.64 kB / 0.7243 GB, free: 2.75 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9241, allocations: 0 / 0.7243 GB, free: 2.75 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.9241, allocations: 4 kB / 0.7243 GB, free: 2.746 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9241, allocations: 0 / 0.7243 GB, free: 2.746 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.9248, allocations: 349.1 kB / 0.7246 GB, free: 2.367 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.925, allocations: 94.55 kB / 0.7247 GB, free: 2.266 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.9251, allocations: 70.12 kB / 0.7247 GB, free: 2.195 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.9251, allocations: 0 / 0.7247 GB, free: 2.195 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.9253, allocations: 110.6 kB / 0.7249 GB, free: 2.078 MB / 498.8 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.9253, allocations: 0 / 0.7249 GB, free: 2.078 MB / 498.8 MB Notification: Performance of matching and sorting (n=10): time 0.0003705/0.9257, allocations: 141.6 kB / 0.725 GB, free: 1.934 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.9258, allocations: 89.94 kB / 0.7251 GB, free: 1.828 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.9259, allocations: 128.9 kB / 0.7252 GB, free: 1.695 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.926, allocations: 25.7 kB / 0.7252 GB, free: 1.664 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.926, allocations: 96.06 kB / 0.7253 GB, free: 1.566 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.9261, allocations: 27.61 kB / 0.7253 GB, free: 1.539 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.9261, allocations: 4 kB / 0.7253 GB, free: 1.535 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9262, allocations: 317.4 kB / 0.7256 GB, free: 1.219 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9263, allocations: 55.97 kB / 0.7257 GB, free: 1.164 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.9264, allocations: 52.73 kB / 0.7258 GB, free: 1.113 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.795e-05/0.9266, allocations: 63.73 kB / 0.7258 GB, free: 1.055 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9266, allocations: 0 / 0.7258 GB, free: 1.055 MB / 498.8 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000316/0.9269, allocations: 153.5 kB / 0.726 GB, free: 0.8984 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9269, allocations: 4 kB / 0.726 GB, free: 0.8945 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9269, allocations: 4 kB / 0.726 GB, free: 0.8906 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.9269, allocations: 0 / 0.726 GB, free: 0.8906 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.9271, allocations: 29.81 kB / 0.726 GB, free: 0.8633 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.9272, allocations: 0 / 0.726 GB, free: 0.8633 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.9274, allocations: 39.81 kB / 0.726 GB, free: 0.8242 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.9275, allocations: 15.98 kB / 0.726 GB, free: 0.8086 MB / 498.8 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: 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.0001568/0.9276, allocations: 146.6 kB / 0.7262 GB, free: 0.6523 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.9277, allocations: 15.81 kB / 0.7262 GB, free: 0.6367 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.9277, allocations: 4.5 kB / 0.7262 GB, free: 0.6367 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9277, allocations: 4 kB / 0.7262 GB, free: 0.6328 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9277, allocations: 0 / 0.7262 GB, free: 0.6328 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.9277, allocations: 2.125 kB / 0.7262 GB, free: 0.6328 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.9279, allocations: 178.2 kB / 0.7264 GB, free: 432 kB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9279, allocations: 3.906 kB / 0.7264 GB, free: 428 kB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.9281, allocations: 23.98 kB / 0.7264 GB, free: 404 kB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.9281, allocations: 4 kB / 0.7264 GB, free: 400 kB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.9281, allocations: 3.984 kB / 0.7264 GB, free: 396 kB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.9281, allocations: 0.6562 kB / 0.7264 GB, free: 396 kB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.9282, allocations: 0 / 0.7264 GB, free: 396 kB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002978/0.9285, allocations: 201.5 kB / 0.7266 GB, free: 176 kB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004085/0.9289, allocations: 0.5488 MB / 0.7271 GB, free: 15.6 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.9289, allocations: 88.92 kB / 0.7272 GB, free: 15.5 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.929, allocations: 10 kB / 0.7272 GB, free: 15.49 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.9292, allocations: 39.89 kB / 0.7273 GB, free: 15.45 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9293, allocations: 20.62 kB / 0.7273 GB, free: 15.43 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.9293, allocations: 4 kB / 0.7273 GB, free: 15.43 MB / 0.5027 GB Notification: Performance of sort global known variables: time 7.868e-05/0.9294, allocations: 105.7 kB / 0.7274 GB, free: 15.32 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.0008417/0.9303, allocations: 20.12 kB / 0.7274 GB, free: 15.3 MB / 0.5027 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: 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.0002299/0.9305, allocations: 118.8 kB / 0.7275 GB, free: 15.18 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.9309, allocations: 212.3 kB / 0.7277 GB, free: 14.96 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9309, allocations: 3.938 kB / 0.7277 GB, free: 14.96 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.9312, allocations: 133.7 kB / 0.7279 GB, free: 14.82 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.9314, allocations: 15.91 kB / 0.7279 GB, free: 14.8 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.932, allocations: 211.8 kB / 0.7281 GB, free: 14.57 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.9324, allocations: 0.7192 MB / 0.7288 GB, free: 13.83 MB / 0.5027 GB Notification: Performance of SimCode: time 6.91e-07/0.9324, allocations: 0 / 0.7288 GB, free: 13.83 MB / 0.5027 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)