Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.127/2.127, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.00158/0.001579, allocations: 177.3 kB / 360.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 90.41 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2457/0.247, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.7994, allocations: 115.2 MB / 0.9628 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/1.006, allocations: 137.5 MB / 1.097 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.006, allocations: 68.75 kB / 1.097 GB, free: 3.297 MB / 0.698 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.0222/1.028, allocations: 4.53 MB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.926e-05/1.028, allocations: 12 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/1.028, allocations: 23.81 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/1.029, allocations: 252.1 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.029, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/1.029, allocations: 12 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000228/1.029, allocations: 53.2 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/1.029, allocations: 123.9 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.029, allocations: 8.594 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.029, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.029, allocations: 7.906 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/1.031, allocations: 0.8726 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/1.031, allocations: 121.1 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/1.032, allocations: 56.3 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/1.032, allocations: 0.6562 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/1.032, allocations: 137.4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.504e-06/1.032, allocations: 0 / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000442/1.032, allocations: 126 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/1.032, allocations: 158.2 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/1.033, allocations: 177.7 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/1.033, allocations: 29.7 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.033, allocations: 128.2 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/1.033, allocations: 23.62 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/1.033, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.033, allocations: 330.8 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/1.033, allocations: 75.98 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/1.034, allocations: 131.7 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/1.034, allocations: 93.36 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.034, allocations: 3.984 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001101/1.036, allocations: 269.2 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.036, allocations: 5.25 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.036, allocations: 3.906 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.036, allocations: 4 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/1.036, allocations: 42.59 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.036, allocations: 7.938 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/1.037, allocations: 118.7 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/1.037, allocations: 15.98 kB / 1.105 GB, free: 11.13 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 0.0001417/1.037, allocations: 116.9 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/1.037, allocations: 19.81 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/1.037, allocations: 17.02 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/1.037, allocations: 4 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.037, allocations: 0.5156 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.037, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/1.038, allocations: 218 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.038, allocations: 0 / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/1.038, allocations: 47.91 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.038, allocations: 4 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.038, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/1.038, allocations: 5.5 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.038, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003889/1.039, allocations: 224.2 kB / 1.105 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000509/1.039, allocations: 0.5854 MB / 1.106 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/1.039, allocations: 93.05 kB / 1.106 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/1.039, allocations: 4 kB / 1.106 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/1.04, allocations: 35.97 kB / 1.106 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/1.04, allocations: 15.91 kB / 1.106 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/1.04, allocations: 11.98 kB / 1.106 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001954/1.04, allocations: 140.6 kB / 1.106 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001311/1.041, allocations: 47.91 kB / 1.106 GB, free: 9.383 MB / 0.7136 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.0002014/1.041, allocations: 116.2 kB / 1.106 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006152/1.042, allocations: 207.2 kB / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.042, allocations: 0 / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/1.042, allocations: 55.92 kB / 1.107 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/1.043, allocations: 39.23 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/1.044, allocations: 228.1 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/1.044, allocations: 0.7505 MB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/1.044, allocations: 0 / 1.108 GB, free: 7.922 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)