Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.848/1.848, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 185.2 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.000997, allocations: 104.8 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4748/0.4758, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.6682, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5308/1.199, allocations: 149.6 MB / 1.351 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/1.199, allocations: 76.27 kB / 1.351 GB, free: 15.88 MB / 0.8073 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.01816/1.217, allocations: 6.995 MB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.218, allocations: 8.531 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/1.218, allocations: 46.81 kB / 1.358 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/1.218, allocations: 328.5 kB / 1.359 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/1.218, allocations: 12.16 kB / 1.359 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/1.218, allocations: 22 kB / 1.359 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004206/1.219, allocations: 216.1 kB / 1.359 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/1.219, allocations: 310.8 kB / 1.359 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.219, allocations: 0.6094 kB / 1.359 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/1.219, allocations: 1 kB / 1.359 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/1.219, allocations: 9.438 kB / 1.359 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.221, allocations: 1.166 MB / 1.36 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/1.221, allocations: 197.3 kB / 1.361 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/1.222, allocations: 127.7 kB / 1.361 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/1.222, allocations: 3.969 kB / 1.361 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/1.222, allocations: 156.8 kB / 1.361 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/1.222, allocations: 0 / 1.361 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0004285/1.222, allocations: 212.6 kB / 1.361 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/1.222, allocations: 139.8 kB / 1.361 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/1.223, allocations: 244.4 kB / 1.361 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/1.223, allocations: 27.33 kB / 1.361 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/1.223, allocations: 190.7 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/1.223, allocations: 91.91 kB / 1.362 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.223, allocations: 0 / 1.362 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/1.223, allocations: 345.4 kB / 1.362 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.223, allocations: 86.8 kB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/1.223, allocations: 165.4 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/1.223, allocations: 99.11 kB / 1.362 GB, free: 13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.223, allocations: 4 kB / 1.362 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000372/1.224, allocations: 285.4 kB / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/1.224, allocations: 456.6 kB / 1.363 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.224, allocations: 3.938 kB / 1.363 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.224, allocations: 4 kB / 1.363 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/1.224, allocations: 75 kB / 1.363 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.224, allocations: 4.703 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.224, allocations: 50.2 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/1.224, allocations: 11.8 kB / 1.363 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.15e-06/1.224, allocations: 4 kB / 1.363 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002833/1.225, allocations: 224.2 kB / 1.363 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/1.225, allocations: 3.938 kB / 1.363 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/1.225, allocations: 4 kB / 1.363 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.225, allocations: 54.88 kB / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/1.225, allocations: 4.656 kB / 1.363 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/1.225, allocations: 36.06 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/1.225, allocations: 11.25 kB / 1.364 GB, free: 11.97 MB / 0.8073 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 (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 6.362e-05/1.225, allocations: 109.5 kB / 1.364 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/1.225, allocations: 32.19 kB / 1.364 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/1.226, allocations: 230.5 kB / 1.364 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.226, allocations: 8.422 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.226, allocations: 3.938 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.226, allocations: 1.875 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.227, allocations: 0.9536 MB / 1.365 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.227, allocations: 4 kB / 1.365 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/1.227, allocations: 61.22 kB / 1.365 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.227, allocations: 8.031 kB / 1.365 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.227, allocations: 9.25 kB / 1.365 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/1.227, allocations: 4.984 kB / 1.365 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.227, allocations: 11.94 kB / 1.365 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000483/1.228, allocations: 0.7345 MB / 1.366 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006106/1.228, allocations: 1.198 MB / 1.367 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/1.228, allocations: 116 kB / 1.367 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/1.228, allocations: 8.797 kB / 1.367 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.229, allocations: 24.78 kB / 1.367 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/1.229, allocations: 28.92 kB / 1.367 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.229, allocations: 16.53 kB / 1.367 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001459/1.229, allocations: 202 kB / 1.367 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001649/1.23, allocations: 120.4 kB / 1.367 GB, free: 8.531 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (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.0001425/1.231, allocations: 113.1 kB / 1.367 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004462/1.231, allocations: 346.3 kB / 1.368 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.231, allocations: 4 kB / 1.368 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/1.231, allocations: 101.4 kB / 1.368 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/1.232, allocations: 59.83 kB / 1.368 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.233, allocations: 0.5707 MB / 1.368 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/1.233, allocations: 0.8518 MB / 1.369 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of SimCode: time 2.7e-07/1.233, allocations: 0 / 1.369 GB, free: 6.754 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)