Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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.349/1.349, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.0009093/0.0009094, allocations: 191.9 kB / 361.1 MB, free: 320 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.2 MB / 0.6195 GB, free: 2.871 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.0007652/0.0007655, allocations: 91.14 kB / 0.7326 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3492/0.35, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.4908, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.9102, allocations: 138.1 MB / 1.099 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001554/0.9104, allocations: 70.06 kB / 1.099 GB, free: 31.84 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.01377/0.9242, allocations: 6.705 MB / 1.105 GB, free: 31.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.9242, allocations: 14.06 kB / 1.105 GB, free: 31.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.9243, allocations: 56.22 kB / 1.105 GB, free: 30.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.9248, allocations: 364.9 kB / 1.106 GB, free: 30.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.9248, allocations: 12.78 kB / 1.106 GB, free: 30.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.9248, allocations: 22.41 kB / 1.106 GB, free: 30.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003276/0.9252, allocations: 214.7 kB / 1.106 GB, free: 30.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.9255, allocations: 317.1 kB / 1.106 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9256, allocations: 4 kB / 1.106 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.9256, allocations: 0 / 1.106 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.9256, allocations: 9.625 kB / 1.106 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.9268, allocations: 1.17 MB / 1.107 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.9272, allocations: 202.1 kB / 1.108 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.9273, allocations: 103.8 kB / 1.108 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.9274, allocations: 7.531 kB / 1.108 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.9275, allocations: 145.9 kB / 1.108 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.9275, allocations: 3.625 kB / 1.108 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0002914/0.9278, allocations: 207.5 kB / 1.108 GB, free: 30 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.9278, allocations: 132.5 kB / 1.108 GB, free: 29.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.928, allocations: 260.6 kB / 1.108 GB, free: 29.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.9281, allocations: 28.92 kB / 1.108 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.9281, allocations: 202.9 kB / 1.109 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.9282, allocations: 82.77 kB / 1.109 GB, free: 29.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.9282, allocations: 3.188 kB / 1.109 GB, free: 29.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.9282, allocations: 339.2 kB / 1.109 GB, free: 29.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.9284, allocations: 75.62 kB / 1.109 GB, free: 29.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.9285, allocations: 149.1 kB / 1.109 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.9286, allocations: 93.92 kB / 1.109 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9286, allocations: 0 / 1.109 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003228/0.929, allocations: 274.3 kB / 1.11 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.9291, allocations: 0.5232 MB / 1.11 GB, free: 44.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.9292, allocations: 0 / 1.11 GB, free: 44.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.9292, allocations: 3.875 kB / 1.11 GB, free: 44.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.9294, allocations: 74.95 kB / 1.11 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9294, allocations: 3.875 kB / 1.11 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.9296, allocations: 40.78 kB / 1.11 GB, free: 44.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.9297, allocations: 11.38 kB / 1.11 GB, free: 44.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-06/0.9297, allocations: 6.734 kB / 1.11 GB, free: 44.46 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002332/0.9299, allocations: 184.2 kB / 1.11 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.9299, allocations: 0 / 1.11 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.9299, allocations: 3.875 kB / 1.11 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.9301, allocations: 59.55 kB / 1.111 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.9301, allocations: 2.719 kB / 1.111 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.9303, allocations: 29.92 kB / 1.111 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.9303, allocations: 7.75 kB / 1.111 GB, free: 44.43 MB / 0.7292 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 (34): * Single equations (assignments): 34 * 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 7.92e-05/0.9304, allocations: 112.4 kB / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.9304, allocations: 27.34 kB / 1.111 GB, free: 44.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.9305, allocations: 37.84 kB / 1.111 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9305, allocations: 7.906 kB / 1.111 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9305, allocations: 0 / 1.111 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9305, allocations: 6.547 kB / 1.111 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.9313, allocations: 0.8227 MB / 1.112 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9313, allocations: 3.875 kB / 1.112 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.9315, allocations: 56.22 kB / 1.112 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9316, allocations: 7.969 kB / 1.112 GB, free: 43.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.9316, allocations: 3.875 kB / 1.112 GB, free: 43.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9316, allocations: 3.875 kB / 1.112 GB, free: 43.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9316, allocations: 10.92 kB / 1.112 GB, free: 43.84 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004562/0.932, allocations: 0.6288 MB / 1.112 GB, free: 43.38 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006552/0.9327, allocations: 1.092 MB / 1.113 GB, free: 42.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.9328, allocations: 118.1 kB / 1.113 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.9328, allocations: 3.688 kB / 1.113 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.9331, allocations: 29.48 kB / 1.113 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.9331, allocations: 18.36 kB / 1.113 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.9331, allocations: 18.75 kB / 1.113 GB, free: 42.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000146/0.9333, allocations: 201.2 kB / 1.114 GB, free: 42.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001513/0.9348, allocations: 125.9 kB / 1.114 GB, free: 42.31 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (25): * Single equations (assignments): 25 * 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.0001327/0.9349, allocations: 120 kB / 1.114 GB, free: 42.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.9353, allocations: 319.1 kB / 1.114 GB, free: 42.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9353, allocations: 0 / 1.114 GB, free: 42.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.9354, allocations: 94.39 kB / 1.114 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.9358, allocations: 54.83 kB / 1.114 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.9367, allocations: 0.5395 MB / 1.115 GB, free: 41.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/0.9371, allocations: 0.8533 MB / 1.116 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9371, allocations: 0 / 1.116 GB, free: 41.21 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)