Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.0.0/package.mo): time 2.125/2.125, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001597/0.001596, allocations: 185.2 kB / 360.3 MB, free: 7.555 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.647/1.647, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001194/0.001193, allocations: 90.31 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.242/0.2433, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.8023, allocations: 115.2 MB / 0.9628 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/1.005, allocations: 136.6 MB / 1.096 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.005, allocations: 71.95 kB / 1.096 GB, free: 4.188 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.007348/1.013, allocations: 1.557 MB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.013, allocations: 16.5 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/1.013, allocations: 7.906 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/1.013, allocations: 210.5 kB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.013, allocations: 4 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/1.013, allocations: 5.875 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/1.014, allocations: 99.94 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/1.014, allocations: 103.4 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.014, allocations: 0 / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.014, allocations: 0 / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.014, allocations: 9.969 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/1.015, allocations: 0.4986 MB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/1.016, allocations: 117.2 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.016, allocations: 69.72 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/1.016, allocations: 0 / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.016, allocations: 38.56 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/1.016, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004261/1.016, allocations: 122.2 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.016, allocations: 89.03 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/1.017, allocations: 139.5 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.017, allocations: 25.7 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/1.017, allocations: 96.06 kB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/1.017, allocations: 35.55 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/1.017, allocations: 0 / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.017, allocations: 323.5 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/1.017, allocations: 43.98 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/1.017, allocations: 53.7 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/1.017, allocations: 44.48 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.017, allocations: 3.938 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003422/1.018, allocations: 134.1 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.018, allocations: 8 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.018, allocations: 1.781 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.018, allocations: 7.906 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/1.018, allocations: 43.95 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.018, allocations: 4 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/1.019, allocations: 31.97 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/1.019, allocations: 4 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.394e-05/1.019, allocations: 104.8 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/1.019, allocations: 18.55 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/1.019, allocations: 16.11 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.019, allocations: 4.75 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.019, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.019, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/1.019, allocations: 202.1 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.019, allocations: 4 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/1.02, allocations: 45.53 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.02, allocations: 4 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.02, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.02, allocations: 4 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.02, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004163/1.02, allocations: 323.5 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005688/1.021, allocations: 0.6842 MB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/1.021, allocations: 89.47 kB / 1.101 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/1.021, allocations: 3.906 kB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/1.021, allocations: 31.97 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/1.021, allocations: 11.98 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/1.021, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001198/1.022, allocations: 123.9 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001182/1.023, allocations: 16 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001502/1.023, allocations: 99.25 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003169/1.023, allocations: 100.5 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.023, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/1.023, allocations: 51.98 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/1.024, allocations: 16.83 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/1.024, allocations: 193.1 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.025, allocations: 0.7266 MB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.025, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)