Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 14.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009371/0.000937, allocations: 178.1 kB / 361.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 2.93 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007233/0.0007232, allocations: 85.36 kB / 0.7326 GB, free: 53.94 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.1674/0.1682, allocations: 121.5 MB / 0.8512 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.3366, allocations: 115.3 MB / 0.9638 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.7236, allocations: 136.8 MB / 1.097 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001564/0.7238, allocations: 69.64 kB / 1.097 GB, free: 14.34 MB / 0.7012 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.003735/0.7275, allocations: 1.556 MB / 1.099 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.7275, allocations: 8 kB / 1.099 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.7276, allocations: 15.23 kB / 1.099 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.7277, allocations: 202.8 kB / 1.099 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-06/0.7277, allocations: 0.7812 kB / 1.099 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7278, allocations: 4 kB / 1.099 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001704/0.7279, allocations: 100.5 kB / 1.099 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.7281, allocations: 117.1 kB / 1.099 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.7281, allocations: 0 / 1.099 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7281, allocations: 0 / 1.099 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7281, allocations: 0 / 1.099 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.7287, allocations: 0.4914 MB / 1.1 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.7289, allocations: 130.5 kB / 1.1 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.729, allocations: 53.8 kB / 1.1 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.729, allocations: 7.984 kB / 1.1 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.059e-05/0.729, allocations: 38.56 kB / 1.1 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.729, allocations: 0.8438 kB / 1.1 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=8): time 0.0002196/0.7293, allocations: 125.5 kB / 1.1 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.477e-05/0.7293, allocations: 81.11 kB / 1.1 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.7294, allocations: 141.3 kB / 1.1 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.7294, allocations: 25.7 kB / 1.1 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 1.88e-05/0.7294, allocations: 96.06 kB / 1.1 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.7294, allocations: 35.55 kB / 1.101 GB, free: 11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.7294, allocations: 0 / 1.101 GB, free: 11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.7295, allocations: 322.8 kB / 1.101 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.7295, allocations: 41.3 kB / 1.101 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.7296, allocations: 53.7 kB / 1.101 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.7297, allocations: 49.05 kB / 1.101 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7297, allocations: 0 / 1.101 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001498/0.7298, allocations: 129.5 kB / 1.101 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.7298, allocations: 15.94 kB / 1.101 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7298, allocations: 0 / 1.101 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7299, allocations: 6.438 kB / 1.101 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.7301, allocations: 51.95 kB / 1.101 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.7301, allocations: 0 / 1.101 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.7302, allocations: 35.97 kB / 1.101 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.7302, allocations: 0.875 kB / 1.101 GB, free: 10.29 MB / 0.7012 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 4.532e-05/0.7303, allocations: 104.9 kB / 1.101 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.7303, allocations: 15.81 kB / 1.101 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.7304, allocations: 23.77 kB / 1.101 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7304, allocations: 0 / 1.101 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7304, allocations: 0 / 1.101 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7304, allocations: 4 kB / 1.101 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.7306, allocations: 198 kB / 1.102 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7306, allocations: 8 kB / 1.102 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.7308, allocations: 43.34 kB / 1.102 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7308, allocations: 8 kB / 1.102 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.7308, allocations: 0 / 1.102 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7308, allocations: 0 / 1.102 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7308, allocations: 0 / 1.102 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000169/0.731, allocations: 318.8 kB / 1.102 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001893/0.7312, allocations: 0.6892 MB / 1.103 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.7312, allocations: 92.86 kB / 1.103 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.7312, allocations: 0 / 1.103 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.7314, allocations: 35.97 kB / 1.103 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.7315, allocations: 7.984 kB / 1.103 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.7315, allocations: 4 kB / 1.103 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.111e-05/0.7316, allocations: 119.4 kB / 1.103 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007722/0.7323, allocations: 19.91 kB / 1.103 GB, free: 8.52 MB / 0.7012 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 9.488e-05/0.7324, allocations: 114.2 kB / 1.103 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.7326, allocations: 95.95 kB / 1.103 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7326, allocations: 0 / 1.103 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.7327, allocations: 59.92 kB / 1.103 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.7329, allocations: 11.98 kB / 1.103 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.7332, allocations: 185.1 kB / 1.103 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.7334, allocations: 0.7341 MB / 1.104 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of SimCode: time 2.51e-07/0.7334, allocations: 0 / 1.104 GB, free: 7.273 MB / 0.7012 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)