Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.811/1.811, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000934/0.000934, allocations: 174.2 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 221.3 MB / 0.7863 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 96 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4158/0.4166, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.5986, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/1.097, allocations: 149.9 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/1.097, allocations: 72.39 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.01349/1.111, allocations: 5.164 MB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/1.111, allocations: 12.38 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/1.111, allocations: 33.41 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/1.111, allocations: 290.1 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/1.111, allocations: 9.547 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/1.111, allocations: 15.03 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001672/1.111, allocations: 81.03 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/1.112, allocations: 164.1 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/1.112, allocations: 1 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.112, allocations: 1.938 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.112, allocations: 11.16 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/1.113, allocations: 0.9575 MB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/1.113, allocations: 121.2 kB / 1.365 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/1.113, allocations: 57 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/1.113, allocations: 5 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/1.113, allocations: 133.8 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/1.113, allocations: 0 / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002512/1.113, allocations: 125.9 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/1.113, allocations: 161.8 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/1.113, allocations: 192.9 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/1.114, allocations: 34.55 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/1.114, allocations: 130.4 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/1.114, allocations: 34.23 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/1.114, allocations: 2.75 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/1.114, allocations: 332 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/1.114, allocations: 76.36 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/1.114, allocations: 170.9 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/1.114, allocations: 101.9 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.114, allocations: 0 / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006023/1.115, allocations: 270.2 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.115, allocations: 5.75 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.115, allocations: 1.688 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.115, allocations: 7.812 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.115, allocations: 40.81 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.115, allocations: 7.594 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/1.116, allocations: 116.9 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/1.116, allocations: 11.89 kB / 1.367 GB, free: 30.64 MB / 0.8386 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 8.654e-05/1.116, allocations: 121.4 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/1.116, allocations: 20.69 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/1.116, allocations: 23 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.116, allocations: 2.875 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.116, allocations: 1.312 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.116, allocations: 3.141 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/1.116, allocations: 235 kB / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.116, allocations: 1.344 kB / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/1.116, allocations: 39.44 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.116, allocations: 1.312 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.116, allocations: 8.344 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.116, allocations: 10.72 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.116, allocations: 1.375 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001845/1.117, allocations: 221.5 kB / 1.367 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002851/1.117, allocations: 0.5818 MB / 1.368 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/1.117, allocations: 104.3 kB / 1.368 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/1.117, allocations: 2.578 kB / 1.368 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/1.117, allocations: 34.95 kB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/1.117, allocations: 14.81 kB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.117, allocations: 4.812 kB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001084/1.117, allocations: 156.7 kB / 1.368 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008223/1.118, allocations: 64.78 kB / 1.368 GB, free: 29.39 MB / 0.8386 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.0001324/1.118, allocations: 117.8 kB / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003099/1.119, allocations: 215.7 kB / 1.369 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/1.119, allocations: 0 / 1.369 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/1.119, allocations: 52.67 kB / 1.369 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/1.119, allocations: 43.62 kB / 1.369 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/1.119, allocations: 261.1 kB / 1.369 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/1.12, allocations: 0.7752 MB / 1.37 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.12, allocations: 0 / 1.37 GB, free: 28.36 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)