Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.199/2.199, allocations: 284.8 MB / 292.1 MB, free: 9.793 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.001545/0.001544, allocations: 185.8 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.1 MB / 0.6187 GB, free: 3.344 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 97.12 kB / 0.7317 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5213/0.5227, allocations: 121.4 MB / 0.8502 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.7212, allocations: 115.2 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.9368, allocations: 136.6 MB / 1.096 GB, free: 248 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.9371, allocations: 71.95 kB / 1.096 GB, free: 176 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.3516/1.289, allocations: 0.8153 MB / 1.097 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.289, allocations: 9.688 kB / 1.097 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/1.289, allocations: 6 kB / 1.097 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/1.289, allocations: 167.7 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.289, allocations: 0.5938 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/1.289, allocations: 1.562 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/1.289, allocations: 18 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/1.289, allocations: 45.75 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.289, allocations: 0.5 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.289, allocations: 5.188 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.289, allocations: 2.609 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/1.29, allocations: 251.2 kB / 1.097 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/1.29, allocations: 36.84 kB / 1.098 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/1.29, allocations: 15.8 kB / 1.098 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.29, allocations: 0.5625 kB / 1.098 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.29, allocations: 33.03 kB / 1.098 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.29, allocations: 0 / 1.098 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/1.29, allocations: 47.97 kB / 1.098 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/1.29, allocations: 56.64 kB / 1.098 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/1.29, allocations: 95.55 kB / 1.098 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/1.29, allocations: 26.39 kB / 1.098 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/1.29, allocations: 83.25 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/1.29, allocations: 6.172 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.291, allocations: 0.5625 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/1.291, allocations: 319.7 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/1.291, allocations: 6.094 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/1.291, allocations: 23.83 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/1.291, allocations: 6.797 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.291, allocations: 0.5938 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001285/1.291, allocations: 46.08 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.291, allocations: 95.89 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.291, allocations: 0 / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.291, allocations: 4.625 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/1.291, allocations: 23.95 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.291, allocations: 5.766 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/1.291, allocations: 23.8 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/1.291, allocations: 3 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.291, allocations: 7.312 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.602e-05/1.291, allocations: 9.766 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/1.291, allocations: 0.8438 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-06/1.292, allocations: 0.5625 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/1.292, allocations: 21.11 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/1.292, allocations: 0.8438 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/1.292, allocations: 13.94 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/1.292, allocations: 3.984 kB / 1.098 GB, free: 139 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.842e-05/1.292, allocations: 113.7 kB / 1.099 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/1.292, allocations: 1.938 kB / 1.099 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/1.292, allocations: 7.562 kB / 1.099 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.292, allocations: 3.938 kB / 1.099 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.292, allocations: 1.156 kB / 1.099 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.292, allocations: 0 / 1.099 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/1.292, allocations: 148.7 kB / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.292, allocations: 1.062 kB / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/1.292, allocations: 21.89 kB / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.292, allocations: 1.891 kB / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/1.292, allocations: 0 / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.292, allocations: 1.797 kB / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.292, allocations: 0 / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001567/1.293, allocations: 141.6 kB / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001746/1.293, allocations: 0.5181 MB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/1.293, allocations: 81.23 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/1.293, allocations: 2.266 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/1.293, allocations: 19.23 kB / 1.099 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/1.293, allocations: 6.734 kB / 1.099 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/1.293, allocations: 4.281 kB / 1.1 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.426e-05/1.293, allocations: 81.11 kB / 1.1 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002081/1.295, allocations: 12.86 kB / 1.1 GB, free: 137.9 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0001551/1.295, allocations: 98.22 kB / 1.1 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001611/1.296, allocations: 30.88 kB / 1.1 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.296, allocations: 3.938 kB / 1.1 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/1.296, allocations: 14.95 kB / 1.1 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/1.296, allocations: 1.797 kB / 1.1 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/1.296, allocations: 82.17 kB / 1.1 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/1.296, allocations: 0.6917 MB / 1.1 GB, free: 137 MB / 0.7136 GB Notification: Performance of SimCode: time 8.81e-07/1.297, allocations: 0 / 1.1 GB, free: 137 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1)