Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.2/2.2, allocations: 284.8 MB / 292.1 MB, free: 9.84 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.001601/0.001601, allocations: 186 kB / 360.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.1 MB / 0.6187 GB, free: 3.301 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.001241/0.00124, allocations: 88.09 kB / 0.7317 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5016/0.5029, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.6961, allocations: 115.3 MB / 0.9628 GB, free: 56.95 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5804/1.277, allocations: 138 MB / 1.098 GB, free: 44.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.277, allocations: 77.02 kB / 1.098 GB, free: 44.91 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.02721/1.304, allocations: 6.796 MB / 1.104 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.304, allocations: 10.12 kB / 1.104 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/1.304, allocations: 45.84 kB / 1.104 GB, free: 44.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.305, allocations: 388.6 kB / 1.105 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/1.305, allocations: 12.78 kB / 1.105 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.305, allocations: 19.16 kB / 1.105 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005717/1.306, allocations: 202.7 kB / 1.105 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/1.307, allocations: 278.6 kB / 1.105 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.307, allocations: 3.219 kB / 1.105 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/1.307, allocations: 0 / 1.105 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.307, allocations: 6.406 kB / 1.105 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/1.309, allocations: 1.096 MB / 1.106 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/1.309, allocations: 190.6 kB / 1.106 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/1.31, allocations: 92.58 kB / 1.106 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/1.31, allocations: 7.422 kB / 1.106 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/1.31, allocations: 143.8 kB / 1.107 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/1.31, allocations: 0 / 1.107 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0004898/1.311, allocations: 186 kB / 1.107 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.311, allocations: 140.1 kB / 1.107 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/1.311, allocations: 258.4 kB / 1.107 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/1.311, allocations: 25.7 kB / 1.107 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/1.311, allocations: 192 kB / 1.107 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/1.311, allocations: 74.78 kB / 1.107 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/1.311, allocations: 0 / 1.107 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.458e-05/1.311, allocations: 339.5 kB / 1.108 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/1.311, allocations: 71.84 kB / 1.108 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.312, allocations: 137.8 kB / 1.108 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/1.312, allocations: 90.53 kB / 1.108 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.312, allocations: 3.188 kB / 1.108 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005609/1.313, allocations: 248.4 kB / 1.108 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/1.313, allocations: 449.8 kB / 1.109 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.313, allocations: 3.219 kB / 1.109 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.313, allocations: 7.156 kB / 1.109 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/1.313, allocations: 60.45 kB / 1.109 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/1.313, allocations: 3.875 kB / 1.109 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/1.314, allocations: 38.17 kB / 1.109 GB, free: 41.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.314, allocations: 15.08 kB / 1.109 GB, free: 41.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-06/1.314, allocations: 3.875 kB / 1.109 GB, free: 41.68 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000425/1.314, allocations: 181.2 kB / 1.109 GB, free: 41.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/1.314, allocations: 3.703 kB / 1.109 GB, free: 41.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/1.314, allocations: 7.969 kB / 1.109 GB, free: 41.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/1.315, allocations: 49.98 kB / 1.109 GB, free: 41.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.315, allocations: 7.969 kB / 1.109 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/1.315, allocations: 27.08 kB / 1.109 GB, free: 41.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/1.315, allocations: 7.812 kB / 1.109 GB, free: 41.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.788e-05/1.315, allocations: 112.8 kB / 1.109 GB, free: 41.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/1.315, allocations: 27.44 kB / 1.109 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/1.315, allocations: 32.45 kB / 1.109 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.315, allocations: 3.906 kB / 1.109 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.315, allocations: 0 / 1.109 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.315, allocations: 7.516 kB / 1.109 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/1.317, allocations: 0.7869 MB / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.317, allocations: 0 / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/1.317, allocations: 58.64 kB / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.317, allocations: 3.969 kB / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/1.317, allocations: 3.906 kB / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.317, allocations: 3.906 kB / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.317, allocations: 0 / 1.11 GB, free: 41.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006962/1.318, allocations: 0.5897 MB / 1.111 GB, free: 40.64 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001054/1.319, allocations: 1.051 MB / 1.112 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/1.319, allocations: 114.7 kB / 1.112 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/1.319, allocations: 7.406 kB / 1.112 GB, free: 55.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/1.32, allocations: 26.77 kB / 1.112 GB, free: 55.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/1.32, allocations: 15.12 kB / 1.112 GB, free: 55.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/1.32, allocations: 11.5 kB / 1.112 GB, free: 55.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000361/1.32, allocations: 201.2 kB / 1.112 GB, free: 55.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002387/1.323, allocations: 115.7 kB / 1.112 GB, free: 55.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0002014/1.323, allocations: 117.2 kB / 1.112 GB, free: 55.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007288/1.324, allocations: 289.5 kB / 1.113 GB, free: 55.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.324, allocations: 3.906 kB / 1.113 GB, free: 55.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/1.324, allocations: 81.27 kB / 1.113 GB, free: 55.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/1.325, allocations: 66.8 kB / 1.113 GB, free: 55.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/1.326, allocations: 0.5213 MB / 1.113 GB, free: 55.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/1.327, allocations: 0.8444 MB / 1.114 GB, free: 54.51 MB / 0.7292 GB Notification: Performance of SimCode: time 9.11e-07/1.327, allocations: 0 / 1.114 GB, free: 54.51 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)