Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.395/1.395, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.001024/0.001024, allocations: 173.3 kB / 366.3 MB, free: 1.957 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.072/1.072, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0008172/0.0008172, allocations: 85.83 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1968/0.1976, allocations: 122.4 MB / 0.8591 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.6429, allocations: 116.3 MB / 0.9727 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.7836, allocations: 139.1 MB / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.7838, allocations: 73.61 kB / 1.109 GB, free: 11.28 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.01656/0.8004, allocations: 6.807 MB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.8004, allocations: 8 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.8005, allocations: 51.44 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.8012, allocations: 383.2 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.8012, allocations: 8 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.8012, allocations: 23.98 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003526/0.8016, allocations: 205.2 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.802, allocations: 276.7 kB / 1.116 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.802, allocations: 0 / 1.116 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.8021, allocations: 4 kB / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.8021, allocations: 9.5 kB / 1.116 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.8035, allocations: 1.096 MB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.8039, allocations: 187.4 kB / 1.117 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.804, allocations: 99.45 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.8041, allocations: 4.125 kB / 1.118 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.8043, allocations: 144.2 kB / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.8043, allocations: 4 kB / 1.118 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.000324/0.8046, allocations: 177.3 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.8047, allocations: 136.5 kB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.8049, allocations: 263.5 kB / 1.118 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.805, allocations: 25.7 kB / 1.118 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.8051, allocations: 188 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.8051, allocations: 70.91 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.8051, allocations: 0 / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8052, allocations: 350.7 kB / 1.119 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.8054, allocations: 68 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.8055, allocations: 140.5 kB / 1.119 GB, free: 404 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.8057, allocations: 87.91 kB / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8057, allocations: 0 / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003594/0.806, allocations: 248.9 kB / 1.119 GB, free: 64 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.8062, allocations: 453 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8062, allocations: 1.641 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.8062, allocations: 5.312 kB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.8065, allocations: 67.91 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.8065, allocations: 0 / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.8067, allocations: 43.81 kB / 1.12 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.8068, allocations: 8 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/0.8068, allocations: 4 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002841/0.8071, allocations: 188.7 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.8071, allocations: 2 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.8071, allocations: 4 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.8073, allocations: 43.92 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.8073, allocations: 4 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.8074, allocations: 31.83 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.8075, allocations: 12 kB / 1.12 GB, free: 15.18 MB / 0.7292 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 7.173e-05/0.8075, allocations: 104.9 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.8076, allocations: 32.75 kB / 1.12 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.8077, allocations: 34.67 kB / 1.12 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8077, allocations: 8 kB / 1.12 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8077, allocations: 0 / 1.12 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8077, allocations: 3.984 kB / 1.12 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.8086, allocations: 0.7779 MB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.8087, allocations: 9.109 kB / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.8089, allocations: 45.48 kB / 1.121 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8089, allocations: 8.203 kB / 1.121 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.8089, allocations: 8 kB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.809, allocations: 4 kB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.809, allocations: 4 kB / 1.121 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005282/0.8095, allocations: 0.5879 MB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007733/0.8103, allocations: 1.049 MB / 1.123 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.8104, allocations: 113.3 kB / 1.123 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.8104, allocations: 7.984 kB / 1.123 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.8107, allocations: 23.98 kB / 1.123 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.8107, allocations: 13.77 kB / 1.123 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.8107, allocations: 12 kB / 1.123 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001775/0.8109, allocations: 199.1 kB / 1.123 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001638/0.8126, allocations: 119.3 kB / 1.123 GB, free: 11.78 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.0001563/0.8127, allocations: 108 kB / 1.123 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.8132, allocations: 300.4 kB / 1.124 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8132, allocations: 0 / 1.124 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.8133, allocations: 79.88 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.8138, allocations: 70.83 kB / 1.124 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.8149, allocations: 0.5218 MB / 1.124 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.8154, allocations: 0.8421 MB / 1.125 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.8154, allocations: 4 kB / 1.125 GB, free: 9.777 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)