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.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",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.376/1.376, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009821/0.000982, allocations: 181.2 kB / 361.1 MB, free: 7.109 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.137/1.137, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0008935/0.0008934, allocations: 96.5 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2063/0.2072, allocations: 121.5 MB / 0.8512 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.7216, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.8778, allocations: 140.9 MB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.8781, allocations: 91.92 kB / 1.101 GB, free: 15.04 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.02061/0.8988, allocations: 8.751 MB / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.8988, allocations: 8.5 kB / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.8989, allocations: 52.59 kB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.8996, allocations: 403.2 kB / 1.11 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.8996, allocations: 12 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.8997, allocations: 20 kB / 1.11 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004289/0.9001, allocations: 217.5 kB / 1.111 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.9006, allocations: 320 kB / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.9006, allocations: 7.844 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.9006, allocations: 4 kB / 1.111 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.9006, allocations: 8 kB / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.9023, allocations: 1.346 MB / 1.112 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.903, allocations: 264.8 kB / 1.113 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.9032, allocations: 112.3 kB / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.9032, allocations: 0 / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.9034, allocations: 151 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.9034, allocations: 0 / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26): time 0.0004017/0.9038, allocations: 225.1 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.9039, allocations: 128.5 kB / 1.113 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.9042, allocations: 286.1 kB / 1.113 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.9042, allocations: 27.58 kB / 1.113 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.9043, allocations: 207.8 kB / 1.114 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.9044, allocations: 86.66 kB / 1.114 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.9044, allocations: 0 / 1.114 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9046, allocations: 338.8 kB / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.9047, allocations: 83.98 kB / 1.114 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.9049, allocations: 151.7 kB / 1.114 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.9051, allocations: 91.92 kB / 1.114 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9051, allocations: 4 kB / 1.114 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004195/0.9055, allocations: 269.2 kB / 1.115 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.9057, allocations: 456.9 kB / 1.115 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9057, allocations: 0 / 1.115 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9057, allocations: 7.938 kB / 1.115 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.906, allocations: 59.97 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9061, allocations: 7.938 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.9063, allocations: 51.66 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.9063, allocations: 12 kB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.9063, allocations: 6.188 kB / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003084/0.9066, allocations: 199.8 kB / 1.115 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.9066, allocations: 5.125 kB / 1.115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-06/0.9067, allocations: 0 / 1.115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.9069, allocations: 51.92 kB / 1.115 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.9069, allocations: 4 kB / 1.115 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.907, allocations: 27.73 kB / 1.115 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.9071, allocations: 16.09 kB / 1.115 GB, free: 456 kB / 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 (35): * Single equations (assignments): 35 * 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 8.198e-05/0.9072, allocations: 104.9 kB / 1.116 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.9072, allocations: 43.52 kB / 1.116 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.9073, allocations: 36.48 kB / 1.116 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9073, allocations: 8.031 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9073, allocations: 0 / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9073, allocations: 0 / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.9085, allocations: 0.8819 MB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.9085, allocations: 4.031 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.9087, allocations: 55.91 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.9088, allocations: 4 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.9088, allocations: 4.688 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.9088, allocations: 4 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9088, allocations: 4 kB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006211/0.9094, allocations: 0.6794 MB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008122/0.9103, allocations: 1.142 MB / 1.118 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.9103, allocations: 120.6 kB / 1.118 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.9104, allocations: 4 kB / 1.118 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.9106, allocations: 23.98 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.9107, allocations: 23.83 kB / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.9107, allocations: 15.98 kB / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001997/0.9109, allocations: 220.6 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001566/0.9125, allocations: 127.3 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (26): * Single equations (assignments): 26 * 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.0001497/0.9126, allocations: 116.4 kB / 1.119 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005178/0.9132, allocations: 328 kB / 1.119 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9132, allocations: 4.844 kB / 1.119 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9133, allocations: 100.4 kB / 1.119 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.9138, allocations: 70.92 kB / 1.119 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.9151, allocations: 0.5895 MB / 1.12 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.9155, allocations: 0.8665 MB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.9155, allocations: 0 / 1.121 GB, free: 10.51 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)