Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.814/1.814, 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.001009/0.001009, allocations: 188.6 kB / 487 MB, free: 5.422 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0009025/0.0009024, allocations: 95 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4443/0.4452, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.6436, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/1.181, allocations: 148.4 MB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.181, allocations: 71.94 kB / 1.35 GB, free: 15.86 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.009809/1.191, allocations: 3.748 MB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.191, allocations: 9.5 kB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/1.191, allocations: 21.44 kB / 1.354 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.191, allocations: 205.2 kB / 1.354 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.191, allocations: 6.984 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.191, allocations: 4.031 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00018/1.191, allocations: 79.17 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/1.191, allocations: 120.2 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/1.191, allocations: 0 / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/1.191, allocations: 0.6094 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.191, allocations: 1.938 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/1.192, allocations: 0.5013 MB / 1.355 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.192, allocations: 74.38 kB / 1.355 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/1.192, allocations: 69.36 kB / 1.355 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/1.193, allocations: 5.734 kB / 1.355 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/1.193, allocations: 32.59 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.193, allocations: 4 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.00037/1.193, allocations: 170.7 kB / 1.355 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/1.193, allocations: 52.16 kB / 1.355 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/1.193, allocations: 126.2 kB / 1.355 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/1.193, allocations: 25.7 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/1.193, allocations: 100.2 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/1.193, allocations: 50.31 kB / 1.356 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/1.193, allocations: 3.938 kB / 1.356 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/1.193, allocations: 321.8 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/1.193, allocations: 57.39 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/1.193, allocations: 54.16 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.193, allocations: 68.3 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.193, allocations: 0.875 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002594/1.194, allocations: 175.4 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.194, allocations: 5.281 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.194, allocations: 2.859 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.194, allocations: 0.875 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/1.194, allocations: 58.45 kB / 1.356 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/1.194, allocations: 4.062 kB / 1.356 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/1.194, allocations: 60.02 kB / 1.356 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.194, allocations: 3.094 kB / 1.356 GB, free: 13.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 4.673e-05/1.194, allocations: 103.8 kB / 1.356 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/1.194, allocations: 17.03 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/1.195, allocations: 198.6 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.195, allocations: 2.984 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.195, allocations: 0 / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.195, allocations: 0.8125 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/1.195, allocations: 223 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.974e-06/1.195, allocations: 6.641 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.195, allocations: 57.95 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.195, allocations: 0 / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.195, allocations: 2.578 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.195, allocations: 1.094 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.195, allocations: 0 / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002941/1.196, allocations: 266 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003154/1.196, allocations: 0.6458 MB / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/1.196, allocations: 89.91 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/1.196, allocations: 0 / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/1.196, allocations: 50.7 kB / 1.358 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/1.196, allocations: 13.38 kB / 1.358 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.196, allocations: 8.125 kB / 1.358 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.617e-05/1.196, allocations: 103.2 kB / 1.358 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008176/1.197, allocations: 50.72 kB / 1.358 GB, free: 12.72 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0001708/1.197, allocations: 121.3 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002662/1.198, allocations: 203.3 kB / 1.358 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.198, allocations: 0.875 kB / 1.358 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.198, allocations: 138.3 kB / 1.359 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/1.198, allocations: 19.08 kB / 1.359 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/1.198, allocations: 205.4 kB / 1.359 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.199, allocations: 0.739 MB / 1.359 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/1.199, allocations: 4 kB / 1.359 GB, free: 11.69 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)