Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_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.371/2.371, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001645/0.001644, allocations: 185.3 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.749/1.749, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001376/0.001376, allocations: 86 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2906/0.2921, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.9387, allocations: 115.2 MB / 0.9628 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/1.189, allocations: 141.9 MB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/1.19, allocations: 92.97 kB / 1.101 GB, free: 14.82 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.07611/1.266, allocations: 18.13 MB / 1.119 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.266, allocations: 8.656 kB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/1.266, allocations: 126.5 kB / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.268, allocations: 0.6016 MB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/1.268, allocations: 28 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.269, allocations: 64 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001889/1.27, allocations: 0.5311 MB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/1.273, allocations: 0.7144 MB / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/1.273, allocations: 7.734 kB / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.273, allocations: 0 / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/1.273, allocations: 24 kB / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006848/1.28, allocations: 2.516 MB / 1.124 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/1.281, allocations: 396.9 kB / 1.124 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/1.282, allocations: 318.5 kB / 1.124 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/1.282, allocations: 8.656 kB / 1.124 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008011/1.283, allocations: 303.2 kB / 1.125 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 5.35e-06/1.283, allocations: 0 / 1.125 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001638/1.284, allocations: 0.5269 MB / 1.125 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.284, allocations: 166.9 kB / 1.125 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/1.285, allocations: 467.5 kB / 1.126 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/1.286, allocations: 29.69 kB / 1.126 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/1.286, allocations: 347.9 kB / 1.126 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/1.286, allocations: 252.2 kB / 1.126 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/1.286, allocations: 0 / 1.126 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.286, allocations: 382.8 kB / 1.127 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/1.287, allocations: 181.6 kB / 1.127 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/1.288, allocations: 295.6 kB / 1.127 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/1.289, allocations: 216.5 kB / 1.127 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.289, allocations: 0 / 1.127 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001741/1.29, allocations: 0.5876 MB / 1.128 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.29, allocations: 181.1 kB / 1.128 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.29, allocations: 0 / 1.128 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.29, allocations: 4 kB / 1.128 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.292, allocations: 167.8 kB / 1.128 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.292, allocations: 5.188 kB / 1.128 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/1.293, allocations: 99.33 kB / 1.128 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/1.293, allocations: 27.98 kB / 1.128 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.293, allocations: 4 kB / 1.128 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/1.294, allocations: 458.7 kB / 1.129 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.294, allocations: 0 / 1.129 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.294, allocations: 4 kB / 1.129 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.296, allocations: 139.8 kB / 1.129 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.296, allocations: 8.031 kB / 1.129 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/1.297, allocations: 59.42 kB / 1.129 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/1.297, allocations: 21.31 kB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 0.0002733/1.297, allocations: 124.6 kB / 1.129 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.297, allocations: 75.06 kB / 1.129 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/1.297, allocations: 85.56 kB / 1.129 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/1.297, allocations: 8 kB / 1.129 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.297, allocations: 0 / 1.129 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.297, allocations: 3.984 kB / 1.129 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/1.301, allocations: 1.424 MB / 1.131 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.301, allocations: 0 / 1.131 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.302, allocations: 155.7 kB / 1.131 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.303, allocations: 1.062 kB / 1.131 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/1.303, allocations: 11.98 kB / 1.131 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/1.303, allocations: 4 kB / 1.131 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.303, allocations: 0 / 1.131 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002982/1.306, allocations: 0.9113 MB / 1.132 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00333/1.309, allocations: 1.58 MB / 1.133 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/1.309, allocations: 152 kB / 1.133 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.309, allocations: 7.906 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/1.31, allocations: 49.27 kB / 1.134 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.31, allocations: 36.59 kB / 1.134 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/1.311, allocations: 26.05 kB / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001258/1.312, allocations: 355.2 kB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006284/1.318, allocations: 294.3 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0005107/1.319, allocations: 124.3 kB / 1.134 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.322, allocations: 0.7952 MB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.323, allocations: 4 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/1.324, allocations: 274.3 kB / 1.135 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.326, allocations: 138.2 kB / 1.136 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/1.332, allocations: 1.215 MB / 1.137 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/1.335, allocations: 1.112 MB / 1.138 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of SimCode: time 2.074e-06/1.335, allocations: 0 / 1.138 GB, free: 9.227 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)