Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.755/1.755, allocations: 387.2 MB / 394.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 183.3 kB / 487 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 6.816 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 102 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2241/0.225, allocations: 148.5 MB / 1.066 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.769, allocations: 142.3 MB / 1.205 GB, free: 72.63 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.916, allocations: 147.8 MB / 1.35 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.9162, allocations: 63.97 kB / 1.35 GB, free: 15.37 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.005502/0.9217, allocations: 2.415 MB / 1.352 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.9218, allocations: 8 kB / 1.352 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.9218, allocations: 27.7 kB / 1.352 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.9221, allocations: 260.4 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.9221, allocations: 8 kB / 1.352 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.9222, allocations: 8 kB / 1.352 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002946/0.9225, allocations: 220.7 kB / 1.353 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.9228, allocations: 320.2 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9228, allocations: 0 / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.9228, allocations: 0 / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.9229, allocations: 8 kB / 1.353 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.924, allocations: 1.286 MB / 1.354 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.924, allocations: 169.1 kB / 1.354 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.9241, allocations: 84.08 kB / 1.354 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.9241, allocations: 75.28 kB / 1.354 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.9241, allocations: 113.8 kB / 1.355 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.9241, allocations: 0 / 1.355 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 8.277e-05/0.9242, allocations: 37.52 kB / 1.355 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.9243, allocations: 55.41 kB / 1.355 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.9245, allocations: 233.7 kB / 1.355 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.9245, allocations: 25.7 kB / 1.355 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.9246, allocations: 168.7 kB / 1.355 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.9246, allocations: 0 / 1.355 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.9246, allocations: 0 / 1.355 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9247, allocations: 326.7 kB / 1.355 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.9248, allocations: 51.95 kB / 1.355 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.9249, allocations: 93.91 kB / 1.356 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.9249, allocations: 55.95 kB / 1.356 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.925, allocations: 4 kB / 1.356 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002505/0.9252, allocations: 165.4 kB / 1.356 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.9252, allocations: 4 kB / 1.356 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9252, allocations: 3.906 kB / 1.356 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9253, allocations: 4 kB / 1.356 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.9254, allocations: 21.98 kB / 1.356 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9254, allocations: 3.938 kB / 1.356 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.9255, allocations: 20.22 kB / 1.356 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.9255, allocations: 7.984 kB / 1.356 GB, free: 8.91 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.441e-05/0.9256, allocations: 184.2 kB / 1.356 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.9256, allocations: 108.9 kB / 1.356 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.9257, allocations: 129.2 kB / 1.356 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.062e-05/0.9258, allocations: 180.2 kB / 1.356 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.447e-05/0.9258, allocations: 180.3 kB / 1.357 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-05/0.9259, allocations: 184.2 kB / 1.357 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.9262, allocations: 466.7 kB / 1.357 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.9262, allocations: 101 kB / 1.357 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.9262, allocations: 110.8 kB / 1.357 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-05/0.9263, allocations: 176.3 kB / 1.358 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.9264, allocations: 185 kB / 1.358 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-05/0.9264, allocations: 180.2 kB / 1.358 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.633e-05/0.9265, allocations: 181.9 kB / 1.358 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001415/0.9266, allocations: 315.6 kB / 1.358 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002188/0.9269, allocations: 0.6836 MB / 1.359 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.927, allocations: 197.8 kB / 1.359 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.927, allocations: 185.1 kB / 1.359 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.9271, allocations: 105 kB / 1.36 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.9272, allocations: 188.2 kB / 1.36 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.9272, allocations: 101.3 kB / 1.36 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001306/0.9274, allocations: 180.5 kB / 1.36 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008112/0.9282, allocations: 43.69 kB / 1.36 GB, free: 4.398 MB / 0.8542 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001395/0.9283, allocations: 174.5 kB / 1.36 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.9284, allocations: 68.08 kB / 1.36 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9284, allocations: 0 / 1.36 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.9285, allocations: 0 / 1.36 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.9288, allocations: 0.5334 MB / 1.361 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.9293, allocations: 335 kB / 1.361 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.9296, allocations: 0.7969 MB / 1.362 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of SimCode: time 2.2e-07/0.9296, allocations: 0 / 1.362 GB, free: 2.441 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)