Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.159/2.159, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001599/0.001598, allocations: 185.2 kB / 360.3 MB, free: 7.531 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.625/1.625, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001227/0.001226, allocations: 95.75 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2411/0.2423, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.7797, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.9921, allocations: 143.9 MB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.9925, allocations: 72.91 kB / 1.103 GB, free: 12.86 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.05292/1.045, allocations: 13.09 MB / 1.116 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.045, allocations: 12.5 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/1.046, allocations: 79.06 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.047, allocations: 0.5289 MB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/1.047, allocations: 19.94 kB / 1.117 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.047, allocations: 36 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/1.048, allocations: 400.4 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.05, allocations: 0.5176 MB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.05, allocations: 3.938 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/1.05, allocations: 4 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/1.05, allocations: 16 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004857/1.055, allocations: 1.995 MB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/1.056, allocations: 311.2 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/1.057, allocations: 206.5 kB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/1.057, allocations: 12.47 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/1.057, allocations: 220.6 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 3.337e-06/1.057, allocations: 0 / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001153/1.058, allocations: 394.6 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/1.058, allocations: 158.7 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/1.059, allocations: 345.8 kB / 1.121 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/1.059, allocations: 33.7 kB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/1.06, allocations: 256.2 kB / 1.121 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/1.06, allocations: 165.5 kB / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/1.06, allocations: 4 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.06, allocations: 362.8 kB / 1.122 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/1.06, allocations: 145.2 kB / 1.122 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/1.061, allocations: 255.2 kB / 1.122 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/1.062, allocations: 161.4 kB / 1.122 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.062, allocations: 8 kB / 1.123 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001267/1.063, allocations: 463.8 kB / 1.123 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.063, allocations: 4 kB / 1.123 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.063, allocations: 0 / 1.123 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.063, allocations: 4.938 kB / 1.123 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.064, allocations: 131.9 kB / 1.123 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.064, allocations: 6.375 kB / 1.123 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/1.065, allocations: 71.64 kB / 1.123 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/1.065, allocations: 19.94 kB / 1.123 GB, free: 8.328 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001963/1.065, allocations: 124.2 kB / 1.123 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/1.065, allocations: 59.23 kB / 1.123 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/1.065, allocations: 53.2 kB / 1.123 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.065, allocations: 8 kB / 1.123 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.065, allocations: 0 / 1.123 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.066, allocations: 5.859 kB / 1.123 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.068, allocations: 1.107 MB / 1.124 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.068, allocations: 3.906 kB / 1.124 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.069, allocations: 107.9 kB / 1.125 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.069, allocations: 4 kB / 1.125 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/1.069, allocations: 7.984 kB / 1.125 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.069, allocations: 0 / 1.125 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.069, allocations: 4 kB / 1.125 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001743/1.071, allocations: 0.7088 MB / 1.125 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002392/1.073, allocations: 1.311 MB / 1.127 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/1.074, allocations: 180.3 kB / 1.127 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.074, allocations: 0 / 1.127 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007548/1.075, allocations: 47.95 kB / 1.127 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.075, allocations: 32.39 kB / 1.127 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/1.075, allocations: 15.98 kB / 1.127 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004977/1.075, allocations: 267.2 kB / 1.127 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001513/1.077, allocations: 143.4 kB / 1.127 GB, free: 4.062 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002183/1.077, allocations: 107.2 kB / 1.127 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.078, allocations: 413.2 kB / 1.128 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.078, allocations: 0 / 1.128 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/1.079, allocations: 200.2 kB / 1.128 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.08, allocations: 119.2 kB / 1.128 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/1.085, allocations: 1.266 MB / 1.129 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/1.086, allocations: 0.9617 MB / 1.13 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/1.086, allocations: 4 kB / 1.13 GB, free: 0.9453 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)