Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.799/1.799, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009629/0.0009629, allocations: 180.4 kB / 487 MB, free: 5.379 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.168/1.168, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.0008813/0.0008813, allocations: 103.6 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.455/0.4559, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.6902, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6724/1.363, allocations: 149.2 MB / 1.351 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/1.363, allocations: 71.73 kB / 1.351 GB, free: 15.75 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.02224/1.385, allocations: 7.747 MB / 1.359 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.385, allocations: 8.312 kB / 1.359 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.385, allocations: 42.81 kB / 1.359 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/1.386, allocations: 362.3 kB / 1.359 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.386, allocations: 8.031 kB / 1.359 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/1.386, allocations: 27.42 kB / 1.359 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002876/1.386, allocations: 159 kB / 1.359 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/1.387, allocations: 225.5 kB / 1.359 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.387, allocations: 4.656 kB / 1.359 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.387, allocations: 2.859 kB / 1.359 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.387, allocations: 8.734 kB / 1.359 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/1.388, allocations: 0.8804 MB / 1.36 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/1.388, allocations: 231.2 kB / 1.361 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/1.389, allocations: 275.1 kB / 1.361 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/1.389, allocations: 3.125 kB / 1.361 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/1.389, allocations: 278.1 kB / 1.361 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/1.389, allocations: 0.625 kB / 1.361 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.0005808/1.39, allocations: 384.5 kB / 1.361 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/1.39, allocations: 141.6 kB / 1.362 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/1.39, allocations: 239.3 kB / 1.362 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/1.39, allocations: 34.17 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/1.39, allocations: 126.7 kB / 1.362 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/1.39, allocations: 73.95 kB / 1.362 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/1.39, allocations: 15.5 kB / 1.362 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/1.391, allocations: 343.1 kB / 1.362 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/1.391, allocations: 221.9 kB / 1.363 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/1.391, allocations: 318.3 kB / 1.363 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/1.392, allocations: 278.4 kB / 1.363 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.392, allocations: 0 / 1.363 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001301/1.393, allocations: 0.6533 MB / 1.364 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.393, allocations: 4 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.393, allocations: 4 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.393, allocations: 4.516 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/1.394, allocations: 54.97 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.394, allocations: 4.75 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/1.394, allocations: 172.8 kB / 1.364 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.394, allocations: 77.33 kB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,$PRE.intPul3.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * 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.0001343/1.395, allocations: 148.8 kB / 1.364 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/1.395, allocations: 28.42 kB / 1.364 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/1.395, allocations: 420 kB / 1.365 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.395, allocations: 8 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.395, allocations: 0.6094 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.395, allocations: 6.141 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/1.396, allocations: 0.7696 MB / 1.365 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.396, allocations: 4 kB / 1.365 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/1.396, allocations: 54.02 kB / 1.365 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.396, allocations: 4.516 kB / 1.365 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/1.396, allocations: 1.453 kB / 1.365 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.396, allocations: 4 kB / 1.365 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.396, allocations: 0 / 1.365 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004625/1.397, allocations: 482.1 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004674/1.397, allocations: 0.8576 MB / 1.367 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/1.397, allocations: 107.9 kB / 1.367 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/1.397, allocations: 7.984 kB / 1.367 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/1.397, allocations: 0 / 1.367 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/1.398, allocations: 27.89 kB / 1.367 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/1.398, allocations: 15.72 kB / 1.367 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001418/1.398, allocations: 188.3 kB / 1.367 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000925/1.399, allocations: 91.75 kB / 1.367 GB, free: 9.109 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001631/1.399, allocations: 137.6 kB / 1.367 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000649/1.399, allocations: 0.5702 MB / 1.368 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.399, allocations: 0.5 kB / 1.368 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/1.4, allocations: 200.1 kB / 1.368 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/1.4, allocations: 56.17 kB / 1.368 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/1.401, allocations: 0.4997 MB / 1.369 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/1.401, allocations: 0.8316 MB / 1.369 GB, free: 23.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.401, allocations: 0 / 1.369 GB, free: 23.02 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1)