Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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 9.1.1-maint.9.1.x/package.mo): time 1.81/1.81, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.000954/0.0009539, allocations: 184.5 kB / 487 MB, free: 5.438 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.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008533/0.0008533, allocations: 104.4 kB / 0.9213 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4829/0.4838, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.7421, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6729/1.415, allocations: 149 MB / 1.351 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.415, allocations: 68.34 kB / 1.351 GB, free: 15.81 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.01391/1.429, allocations: 4.489 MB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.429, allocations: 9.625 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/1.43, allocations: 22.22 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/1.43, allocations: 270.9 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/1.43, allocations: 8.984 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/1.43, allocations: 13.53 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/1.43, allocations: 56.98 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/1.431, allocations: 146.2 kB / 1.356 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.431, allocations: 4.781 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.431, allocations: 5.766 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.431, allocations: 2.656 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/1.431, allocations: 0.7696 MB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/1.432, allocations: 58.06 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/1.432, allocations: 29.23 kB / 1.357 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/1.432, allocations: 1.094 kB / 1.357 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.432, allocations: 91.89 kB / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.432, allocations: 0 / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0002381/1.432, allocations: 91.48 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/1.432, allocations: 84.33 kB / 1.357 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/1.432, allocations: 187.8 kB / 1.357 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/1.432, allocations: 29.67 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/1.432, allocations: 122.4 kB / 1.357 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/1.432, allocations: 9.781 kB / 1.357 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/1.432, allocations: 3.156 kB / 1.357 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/1.432, allocations: 336.4 kB / 1.358 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/1.433, allocations: 66.69 kB / 1.358 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/1.433, allocations: 132.3 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/1.433, allocations: 90.42 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.433, allocations: 2.781 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006092/1.434, allocations: 235.4 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.434, allocations: 9.188 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.434, allocations: 2.797 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.434, allocations: 2.062 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/1.434, allocations: 16.5 kB / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.434, allocations: 3.859 kB / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/1.434, allocations: 86.08 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/1.434, allocations: 11.61 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.295e-05/1.435, allocations: 118.4 kB / 1.358 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.435, allocations: 16.2 kB / 1.358 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/1.435, allocations: 19.86 kB / 1.358 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.435, allocations: 1.531 kB / 1.358 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.435, allocations: 1.828 kB / 1.358 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.435, allocations: 0 / 1.358 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.435, allocations: 207.3 kB / 1.359 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.435, allocations: 0.6562 kB / 1.359 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/1.435, allocations: 9.188 kB / 1.359 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.435, allocations: 0.875 kB / 1.359 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/1.435, allocations: 5.5 kB / 1.359 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.435, allocations: 1.5 kB / 1.359 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.435, allocations: 6.766 kB / 1.359 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001497/1.435, allocations: 124.8 kB / 1.359 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002242/1.435, allocations: 0.5147 MB / 1.359 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/1.435, allocations: 91.25 kB / 1.359 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/1.435, allocations: 2.516 kB / 1.359 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/1.435, allocations: 0.7188 kB / 1.359 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/1.435, allocations: 9.375 kB / 1.359 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.435, allocations: 2.969 kB / 1.359 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001081/1.436, allocations: 144.4 kB / 1.359 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008806/1.436, allocations: 53.09 kB / 1.359 GB, free: 12.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001971/1.437, allocations: 123.1 kB / 1.36 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003492/1.437, allocations: 179.1 kB / 1.36 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.437, allocations: 0.7188 kB / 1.36 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/1.437, allocations: 31.95 kB / 1.36 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/1.437, allocations: 39.61 kB / 1.36 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/1.438, allocations: 192.9 kB / 1.36 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.438, allocations: 0.7456 MB / 1.361 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of SimCode: time 1.052e-06/1.438, allocations: 0 / 1.361 GB, free: 11.27 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1)