Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.334/1.334, allocations: 285.5 MB / 292.8 MB, free: 9.836 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 181.3 kB / 361.1 MB, free: 372 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 205.2 MB / 0.6195 GB, free: 2.863 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007752/0.0007752, allocations: 85.12 kB / 0.7326 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3617/0.3625, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.5113, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.9236, allocations: 137.7 MB / 1.098 GB, free: 36.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.9238, allocations: 70.94 kB / 1.098 GB, free: 36.24 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01045/0.9343, allocations: 4.505 MB / 1.103 GB, free: 35.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.9343, allocations: 10.06 kB / 1.103 GB, free: 35.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.9344, allocations: 24.56 kB / 1.103 GB, free: 35.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.9346, allocations: 249.8 kB / 1.103 GB, free: 35.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.9346, allocations: 3.25 kB / 1.103 GB, free: 35.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.9347, allocations: 14.42 kB / 1.103 GB, free: 35.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001232/0.9348, allocations: 61.03 kB / 1.103 GB, free: 35.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.935, allocations: 127.4 kB / 1.103 GB, free: 35.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.935, allocations: 0 / 1.103 GB, free: 35.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.935, allocations: 3.156 kB / 1.103 GB, free: 35.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.935, allocations: 0 / 1.103 GB, free: 35.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.9358, allocations: 0.8786 MB / 1.104 GB, free: 34.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.9359, allocations: 125.3 kB / 1.104 GB, free: 34.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.936, allocations: 49.86 kB / 1.104 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.936, allocations: 3.938 kB / 1.104 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.9361, allocations: 136.3 kB / 1.104 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.9361, allocations: 0 / 1.104 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002247/0.9363, allocations: 124 kB / 1.104 GB, free: 34.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.9364, allocations: 165.3 kB / 1.105 GB, free: 34.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.9365, allocations: 172.5 kB / 1.105 GB, free: 34.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.9365, allocations: 36.02 kB / 1.105 GB, free: 34.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.9366, allocations: 116.4 kB / 1.105 GB, free: 33.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.9366, allocations: 23.34 kB / 1.105 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.9366, allocations: 8.484 kB / 1.105 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.9367, allocations: 323.8 kB / 1.105 GB, free: 33.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.9368, allocations: 79.22 kB / 1.105 GB, free: 33.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.937, allocations: 137 kB / 1.105 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.9373, allocations: 95.52 kB / 1.106 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9373, allocations: 0 / 1.106 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005302/0.9378, allocations: 269.9 kB / 1.106 GB, free: 33.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.9379, allocations: 15.38 kB / 1.106 GB, free: 33.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9379, allocations: 0 / 1.106 GB, free: 33.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9379, allocations: 7.875 kB / 1.106 GB, free: 33.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.9381, allocations: 41.81 kB / 1.106 GB, free: 33.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.9381, allocations: 4.453 kB / 1.106 GB, free: 33.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.9385, allocations: 115.6 kB / 1.106 GB, free: 33.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.9385, allocations: 15.05 kB / 1.106 GB, free: 33.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 6.226e-05/0.9386, allocations: 118.6 kB / 1.106 GB, free: 33.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.9386, allocations: 18.25 kB / 1.106 GB, free: 33.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.9387, allocations: 17.14 kB / 1.106 GB, free: 33.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9387, allocations: 3.875 kB / 1.106 GB, free: 33.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.9387, allocations: 0 / 1.106 GB, free: 33.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9387, allocations: 3.875 kB / 1.106 GB, free: 33.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.9388, allocations: 217 kB / 1.106 GB, free: 49.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9389, allocations: 4 kB / 1.106 GB, free: 49.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.939, allocations: 36.16 kB / 1.106 GB, free: 49.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.939, allocations: 7.75 kB / 1.106 GB, free: 49.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.939, allocations: 3.938 kB / 1.106 GB, free: 49.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.939, allocations: 3.875 kB / 1.106 GB, free: 49.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9391, allocations: 0 / 1.106 GB, free: 49.11 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001735/0.9392, allocations: 219.9 kB / 1.107 GB, free: 48.93 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002375/0.9395, allocations: 0.585 MB / 1.107 GB, free: 48.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.9395, allocations: 96.11 kB / 1.107 GB, free: 48.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.9396, allocations: 7.484 kB / 1.107 GB, free: 48.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.9397, allocations: 28.97 kB / 1.107 GB, free: 48.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.9398, allocations: 18.45 kB / 1.107 GB, free: 48.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.9398, allocations: 14.42 kB / 1.107 GB, free: 48.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.253e-05/0.9399, allocations: 135 kB / 1.107 GB, free: 48.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007995/0.9407, allocations: 52.81 kB / 1.108 GB, free: 48.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001277/0.9408, allocations: 119.1 kB / 1.108 GB, free: 48.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.9411, allocations: 204.2 kB / 1.108 GB, free: 48.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.9411, allocations: 0 / 1.108 GB, free: 48.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.9412, allocations: 56.03 kB / 1.108 GB, free: 48.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.9415, allocations: 41.11 kB / 1.108 GB, free: 48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.9419, allocations: 237.6 kB / 1.108 GB, free: 47.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.9423, allocations: 0.7463 MB / 1.109 GB, free: 47.15 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9423, allocations: 0 / 1.109 GB, free: 47.15 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)