Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.1-maint.8.0.x/package.mo): time 1.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 10.37 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.001056/0.001056, allocations: 185.3 kB / 361.1 MB, free: 7.062 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.075/1.075, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000835/0.000835, allocations: 84.39 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1995/0.2004, allocations: 121.5 MB / 0.8512 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.6562, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.7951, allocations: 140.9 MB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.7954, allocations: 89 kB / 1.101 GB, free: 14.99 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.01956/0.815, allocations: 8.456 MB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.815, allocations: 8.5 kB / 1.11 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.8152, allocations: 59.25 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.8157, allocations: 367.7 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.8158, allocations: 12 kB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.8158, allocations: 24 kB / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004172/0.8162, allocations: 233.9 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.8168, allocations: 325.9 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8168, allocations: 0 / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.8168, allocations: 8.703 kB / 1.111 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.8169, allocations: 12 kB / 1.111 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.8186, allocations: 1.233 MB / 1.112 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.8193, allocations: 267.4 kB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.8194, allocations: 112.8 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.8195, allocations: 4 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.8197, allocations: 162.7 kB / 1.112 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.8197, allocations: 0 / 1.112 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.0003833/0.8201, allocations: 219.3 kB / 1.113 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.8202, allocations: 134.7 kB / 1.113 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.8204, allocations: 282.1 kB / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.8205, allocations: 25.7 kB / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.8206, allocations: 216 kB / 1.113 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.8206, allocations: 90.66 kB / 1.113 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.8207, allocations: 3.938 kB / 1.113 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8208, allocations: 350.7 kB / 1.114 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.8209, allocations: 77.25 kB / 1.114 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.8211, allocations: 161.5 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8213, allocations: 99.92 kB / 1.114 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8213, allocations: 3.938 kB / 1.114 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004434/0.8217, allocations: 269.2 kB / 1.114 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.8219, allocations: 0.5331 MB / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8219, allocations: 0 / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.822, allocations: 4 kB / 1.115 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.8223, allocations: 73.22 kB / 1.115 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8223, allocations: 10.2 kB / 1.115 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.8225, allocations: 43.81 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.8225, allocations: 15.91 kB / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.8225, allocations: 6.188 kB / 1.115 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003132/0.8229, allocations: 205.7 kB / 1.115 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.8229, allocations: 4 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.8229, allocations: 2.156 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.8231, allocations: 55.91 kB / 1.115 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.8231, allocations: 7.938 kB / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.8233, allocations: 35.89 kB / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.8233, allocations: 13.38 kB / 1.115 GB, free: 0.6484 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 9.399e-05/0.8234, allocations: 108.8 kB / 1.115 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.8235, allocations: 31.62 kB / 1.115 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.8235, allocations: 42.94 kB / 1.115 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.8236, allocations: 7.906 kB / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8236, allocations: 0 / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8236, allocations: 3.984 kB / 1.115 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8246, allocations: 0.8726 MB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8246, allocations: 0 / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.8249, allocations: 59.91 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.8249, allocations: 4 kB / 1.116 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.8249, allocations: 5.188 kB / 1.116 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.825, allocations: 11.92 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.825, allocations: 0 / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006728/0.8256, allocations: 0.6834 MB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008579/0.8265, allocations: 1.156 MB / 1.118 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.8266, allocations: 112.7 kB / 1.118 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.8267, allocations: 15.83 kB / 1.118 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.827, allocations: 23.98 kB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.827, allocations: 18.52 kB / 1.118 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.827, allocations: 19.98 kB / 1.118 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000216/0.8272, allocations: 220.6 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001589/0.8288, allocations: 127.3 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001338/0.829, allocations: 123.4 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.8295, allocations: 344 kB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8295, allocations: 0.5 kB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.8296, allocations: 103.9 kB / 1.119 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.8301, allocations: 76.94 kB / 1.119 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.8312, allocations: 0.5718 MB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.8317, allocations: 0.8737 MB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8318, allocations: 0 / 1.121 GB, free: 10.67 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)