Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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 8.1.4-maint.8.1.x/package.mo): time 1.395/1.395, allocations: 289.8 MB / 297.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 177.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.059/1.059, allocations: 205.2 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 99.66 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1999/0.2009, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.6388, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.7796, allocations: 137.5 MB / 1.107 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.7798, allocations: 75.88 kB / 1.107 GB, free: 10.87 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.005661/0.7855, allocations: 2.455 MB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.7855, allocations: 8 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.7856, allocations: 31.62 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.7859, allocations: 262.7 kB / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.7859, allocations: 8.562 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.786, allocations: 15.91 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003051/0.7863, allocations: 216.7 kB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.7867, allocations: 309.2 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7867, allocations: 11.92 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.7867, allocations: 3.984 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.7867, allocations: 8.562 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.7879, allocations: 1.363 MB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.261e-05/0.7879, allocations: 171.7 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.788, allocations: 88.05 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.788, allocations: 75.28 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.788, allocations: 105.8 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7881, allocations: 1.406 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.164e-05/0.7881, allocations: 41.55 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.7882, allocations: 51.41 kB / 1.112 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.7884, allocations: 242.8 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.7884, allocations: 29.7 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.7885, allocations: 163.5 kB / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.7885, allocations: 4 kB / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.7885, allocations: 3.938 kB / 1.113 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7886, allocations: 330.7 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.7887, allocations: 47.95 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.7888, allocations: 97.11 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.7889, allocations: 63.94 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7889, allocations: 7.938 kB / 1.113 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002514/0.7892, allocations: 165.4 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.7892, allocations: 4 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7892, allocations: 1.312 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.7892, allocations: 4 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.7893, allocations: 19.98 kB / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7893, allocations: 7.906 kB / 1.113 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.7894, allocations: 16.19 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.7894, allocations: 11.98 kB / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.849e-05/0.7895, allocations: 188.1 kB / 1.113 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.7896, allocations: 112.9 kB / 1.114 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.7897, allocations: 117.5 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/0.7897, allocations: 184.2 kB / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-05/0.7898, allocations: 188.2 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.335e-05/0.7898, allocations: 176.3 kB / 1.114 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.7901, allocations: 461.6 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.7901, allocations: 105.3 kB / 1.115 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.7902, allocations: 101.5 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-05/0.7902, allocations: 184.2 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.7903, allocations: 184.3 kB / 1.115 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.408e-05/0.7903, allocations: 184.2 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.594e-05/0.7904, allocations: 180.2 kB / 1.116 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000124/0.7905, allocations: 309 kB / 1.116 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002289/0.7908, allocations: 0.6881 MB / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.7909, allocations: 201.9 kB / 1.117 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.791, allocations: 180.2 kB / 1.117 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.7911, allocations: 105 kB / 1.117 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.7911, allocations: 184.3 kB / 1.117 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.7912, allocations: 104.9 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001415/0.7913, allocations: 192 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009459/0.7923, allocations: 36.41 kB / 1.117 GB, free: 15.69 MB / 0.7292 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.0001212/0.7924, allocations: 182.5 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.7925, allocations: 64.39 kB / 1.118 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7925, allocations: 0 / 1.118 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.7926, allocations: 0 / 1.118 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.7929, allocations: 0.5466 MB / 1.118 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.7934, allocations: 336.4 kB / 1.119 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.7938, allocations: 0.8008 MB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.7938, allocations: 0 / 1.119 GB, free: 13.7 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)