Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.386/1.386, allocations: 289.8 MB / 297 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.001018/0.001018, allocations: 193.2 kB / 366.3 MB, free: 2.012 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.097/1.097, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0008275/0.0008275, allocations: 87.64 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2076/0.2085, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.6761, allocations: 116.3 MB / 0.9727 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.8176, allocations: 137.7 MB / 1.107 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.8178, allocations: 67.91 kB / 1.107 GB, free: 10.78 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.004454/0.8223, allocations: 1.554 MB / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8223, allocations: 8 kB / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.8223, allocations: 11.91 kB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.8226, allocations: 214.7 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.8226, allocations: 0 / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.8226, allocations: 5.969 kB / 1.109 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/0.8228, allocations: 99.94 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.823, allocations: 107.3 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.823, allocations: 0 / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.823, allocations: 0 / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.8231, allocations: 3.984 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.8238, allocations: 0.4935 MB / 1.11 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.8241, allocations: 125.1 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.8241, allocations: 57.8 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.8242, allocations: 4 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.8242, allocations: 38.55 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.8242, allocations: 0 / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002706/0.8245, allocations: 125.5 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.8245, allocations: 81.11 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.8246, allocations: 147.3 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8246, allocations: 25.7 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.8247, allocations: 96.06 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.8247, allocations: 31.55 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.8247, allocations: 0 / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.8248, allocations: 326.8 kB / 1.111 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.8249, allocations: 39.98 kB / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.825, allocations: 54.64 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.825, allocations: 51.98 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.825, allocations: 0 / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001774/0.8252, allocations: 133.5 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.8252, allocations: 8 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.8253, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.8253, allocations: 7.906 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.8255, allocations: 43.95 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8255, allocations: 7.938 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.8257, allocations: 31.97 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.8257, allocations: 4.656 kB / 1.111 GB, free: 6.664 MB / 0.7136 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 6.475e-05/0.8258, allocations: 101 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.8258, allocations: 15.81 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.8259, allocations: 20.11 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8259, allocations: 0 / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.8259, allocations: 0 / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8259, allocations: 4 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.8261, allocations: 204.2 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8262, allocations: 7.984 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.8264, allocations: 39.97 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8264, allocations: 4 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8264, allocations: 0 / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8264, allocations: 4 kB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8264, allocations: 0 / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002275/0.8266, allocations: 325.7 kB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002906/0.8269, allocations: 0.6804 MB / 1.112 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.827, allocations: 92.86 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.827, allocations: 0 / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.8272, allocations: 35.97 kB / 1.113 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.8273, allocations: 11.98 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.8273, allocations: 0 / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.635e-05/0.8274, allocations: 124.1 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008474/0.8282, allocations: 23.84 kB / 1.113 GB, free: 4.879 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.0001055/0.8284, allocations: 103.2 kB / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.8285, allocations: 99.94 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8285, allocations: 0 / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.8286, allocations: 55.92 kB / 1.113 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.8288, allocations: 14.09 kB / 1.113 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.8292, allocations: 184.3 kB / 1.113 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.8295, allocations: 0.7311 MB / 1.114 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of SimCode: time 3.716e-06/0.8295, allocations: 0 / 1.114 GB, free: 3.645 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)