Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.141/2.141, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001599, allocations: 185.2 kB / 360.3 MB, free: 7.516 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.637/1.637, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001243/0.001242, allocations: 96.22 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2503/0.2516, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5668/0.8185, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/1.028, allocations: 138.9 MB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.029, allocations: 75.95 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.04982/1.078, allocations: 11.08 MB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.078, allocations: 12 kB / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/1.079, allocations: 71.16 kB / 1.109 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.08, allocations: 468.2 kB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/1.08, allocations: 16 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.08, allocations: 47.89 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009153/1.081, allocations: 270 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.082, allocations: 401 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.082, allocations: 0 / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/1.082, allocations: 4 kB / 1.111 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/1.082, allocations: 12 kB / 1.111 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/1.086, allocations: 1.48 MB / 1.112 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/1.087, allocations: 211.4 kB / 1.112 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/1.087, allocations: 257.3 kB / 1.112 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/1.088, allocations: 15.77 kB / 1.112 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/1.088, allocations: 204.1 kB / 1.113 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/1.088, allocations: 0 / 1.113 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.001063/1.089, allocations: 342.7 kB / 1.113 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/1.089, allocations: 111.2 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/1.09, allocations: 294.5 kB / 1.113 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.09, allocations: 33.69 kB / 1.113 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/1.09, allocations: 216.8 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/1.09, allocations: 149.8 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/1.09, allocations: 4 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.091, allocations: 350.8 kB / 1.114 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.091, allocations: 165.8 kB / 1.114 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/1.092, allocations: 250.8 kB / 1.114 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/1.093, allocations: 188.7 kB / 1.115 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.093, allocations: 4 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00181/1.095, allocations: 0.5024 MB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003625/1.095, allocations: 0.6187 MB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.095, allocations: 7.844 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.095, allocations: 4 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/1.096, allocations: 97.38 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.096, allocations: 7.75 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.097, allocations: 123.6 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/1.097, allocations: 23.98 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.097, allocations: 4 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/1.099, allocations: 425.3 kB / 1.116 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.099, allocations: 0 / 1.116 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/1.099, allocations: 7.938 kB / 1.116 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/1.099, allocations: 79.84 kB / 1.116 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.1, allocations: 4 kB / 1.116 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/1.101, allocations: 111.8 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/1.101, allocations: 25.3 kB / 1.117 GB, free: 15.09 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: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002157/1.101, allocations: 129.6 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.101, allocations: 47.42 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/1.101, allocations: 48.69 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.101, allocations: 4 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.101, allocations: 0 / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.101, allocations: 4 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/1.103, allocations: 0.8681 MB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.103, allocations: 0 / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/1.104, allocations: 83.89 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.104, allocations: 0 / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/1.104, allocations: 17.73 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.104, allocations: 0 / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.104, allocations: 0 / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001483/1.105, allocations: 0.6227 MB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002029/1.108, allocations: 1.173 MB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/1.108, allocations: 128.5 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/1.108, allocations: 7.906 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/1.108, allocations: 19.98 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/1.108, allocations: 28.33 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/1.108, allocations: 20 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003995/1.109, allocations: 224.6 kB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002704/1.112, allocations: 203.1 kB / 1.12 GB, free: 11.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.0002998/1.112, allocations: 131.1 kB / 1.12 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.114, allocations: 0.7323 MB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.114, allocations: 0.625 kB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/1.114, allocations: 177.6 kB / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008853/1.115, allocations: 77.97 kB / 1.121 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/1.117, allocations: 0.6962 MB / 1.122 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/1.118, allocations: 0.9241 MB / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/1.118, allocations: 0 / 1.123 GB, free: 8.57 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)