Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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 7.0.3-maint.7.0.x/package.mo): time 1.223/1.223, allocations: 249.4 MB / 256.7 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 189.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.141/1.141, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 96.09 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3207/0.3216, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.4799, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.9457, allocations: 131.6 MB / 1.013 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.946, allocations: 70.45 kB / 1.013 GB, free: 6.871 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002603/0.9486, allocations: 0.9036 MB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9487, allocations: 8 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.9487, allocations: 3.906 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9488, allocations: 167 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.9488, allocations: 0 / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.9488, allocations: 4 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.031e-05/0.9489, allocations: 14.25 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.949, allocations: 48.59 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9491, allocations: 7.984 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.9491, allocations: 0 / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9491, allocations: 4 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.9496, allocations: 287.6 kB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.9497, allocations: 30.39 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.9497, allocations: 19.88 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.9497, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.9498, allocations: 37.62 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.9498, allocations: 0 / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.95, allocations: 47.48 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.95, allocations: 51.41 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.9501, allocations: 104.2 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.9501, allocations: 28.33 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.9502, allocations: 87.77 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.9502, allocations: 7.906 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.9502, allocations: 0 / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.9503, allocations: 314.8 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.9504, allocations: 7.375 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.9504, allocations: 7.375 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.9504, allocations: 7.312 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9504, allocations: 7.906 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.481e-05/0.9505, allocations: 48.75 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.9505, allocations: 8 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9506, allocations: 0 / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.9506, allocations: 4 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.9507, allocations: 20.86 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.9507, allocations: 0 / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.9508, allocations: 28.53 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.9509, allocations: 0 / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.612e-05/0.9509, allocations: 108.9 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.9509, allocations: 3.906 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.9511, allocations: 59.62 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.9511, allocations: 4 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.9511, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9511, allocations: 9.797 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.9512, allocations: 145.5 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9512, allocations: 3.938 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.9514, allocations: 23.98 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9514, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.9514, allocations: 3.906 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9514, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9514, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001209/0.9516, allocations: 150.4 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002049/0.9518, allocations: 0.5222 MB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.9518, allocations: 77.11 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.9518, allocations: 7.984 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.952, allocations: 19.98 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.952, allocations: 0.5 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.952, allocations: 4 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.663e-05/0.9521, allocations: 91.3 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008104/0.9529, allocations: 11.94 kB / 1.017 GB, free: 3.227 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0001092/0.953, allocations: 95.25 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.9531, allocations: 26.38 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9531, allocations: 4 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.9531, allocations: 15.69 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.9533, allocations: 3.984 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.9535, allocations: 80.69 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.9538, allocations: 0.6954 MB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/0.9538, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)