Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.919/1.919, allocations: 387.2 MB / 394.5 MB, free: 13.73 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.001009/0.001009, allocations: 172 kB / 487 MB, free: 5.41 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.238/1.238, 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.001016/0.001017, allocations: 105.3 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4876/0.4887, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.6957, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6165/1.312, allocations: 152.4 MB / 1.354 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.313, allocations: 89.48 kB / 1.354 GB, free: 15.53 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.02205/1.335, allocations: 8.701 MB / 1.363 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/1.335, allocations: 12 kB / 1.363 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/1.335, allocations: 51.34 kB / 1.363 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/1.335, allocations: 380.7 kB / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/1.335, allocations: 12 kB / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/1.335, allocations: 23.94 kB / 1.363 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003546/1.336, allocations: 217.3 kB / 1.363 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/1.336, allocations: 316.3 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.336, allocations: 0 / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/1.336, allocations: 7.938 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.336, allocations: 11.91 kB / 1.364 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.338, allocations: 1.318 MB / 1.365 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/1.338, allocations: 261.4 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.338, allocations: 114.7 kB / 1.365 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.338, allocations: 4.438 kB / 1.365 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/1.339, allocations: 150.4 kB / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.634e-06/1.339, allocations: 3.984 kB / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0003249/1.339, allocations: 214.3 kB / 1.366 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.339, allocations: 132.5 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/1.339, allocations: 269.5 kB / 1.366 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/1.339, allocations: 25.7 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.339, allocations: 203.2 kB / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/1.339, allocations: 80.69 kB / 1.366 GB, free: 10 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/1.339, allocations: 0 / 1.366 GB, free: 10 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/1.339, allocations: 352.6 kB / 1.367 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/1.34, allocations: 75.38 kB / 1.367 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/1.34, allocations: 138.3 kB / 1.367 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/1.34, allocations: 90.78 kB / 1.367 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.34, allocations: 4 kB / 1.367 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003416/1.34, allocations: 262.6 kB / 1.367 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/1.34, allocations: 450.7 kB / 1.368 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.34, allocations: 7.984 kB / 1.368 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.34, allocations: 0 / 1.368 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/1.341, allocations: 75.91 kB / 1.368 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.341, allocations: 3.938 kB / 1.368 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/1.341, allocations: 51.66 kB / 1.368 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/1.341, allocations: 15 kB / 1.368 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-06/1.341, allocations: 4 kB / 1.368 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002581/1.341, allocations: 191.4 kB / 1.368 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/1.341, allocations: 0 / 1.368 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-06/1.341, allocations: 4 kB / 1.368 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.341, allocations: 59.22 kB / 1.368 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/1.341, allocations: 0 / 1.368 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.341, allocations: 31.84 kB / 1.368 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/1.341, allocations: 7.312 kB / 1.368 GB, free: 8.41 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 (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 6.702e-05/1.342, allocations: 112.9 kB / 1.368 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/1.342, allocations: 35.53 kB / 1.368 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/1.342, allocations: 35.33 kB / 1.368 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.342, allocations: 4 kB / 1.368 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.342, allocations: 0 / 1.368 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.342, allocations: 4 kB / 1.368 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/1.343, allocations: 0.8501 MB / 1.369 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.343, allocations: 4 kB / 1.369 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.343, allocations: 59.59 kB / 1.369 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.343, allocations: 4.281 kB / 1.369 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/1.343, allocations: 11.94 kB / 1.369 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.343, allocations: 4 kB / 1.369 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.343, allocations: 96 / 1.369 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004582/1.343, allocations: 0.6529 MB / 1.37 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005799/1.344, allocations: 1.127 MB / 1.371 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/1.344, allocations: 115.6 kB / 1.371 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/1.344, allocations: 4 kB / 1.371 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.344, allocations: 24.05 kB / 1.371 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/1.344, allocations: 23.52 kB / 1.371 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/1.344, allocations: 15.92 kB / 1.371 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001605/1.345, allocations: 212.2 kB / 1.371 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001682/1.346, allocations: 115.4 kB / 1.371 GB, free: 5.203 MB / 0.8073 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.0001302/1.346, allocations: 123 kB / 1.372 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004255/1.347, allocations: 325 kB / 1.372 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.347, allocations: 4 kB / 1.372 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/1.347, allocations: 84.5 kB / 1.372 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/1.347, allocations: 78.16 kB / 1.372 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.349, allocations: 0.5673 MB / 1.373 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/1.349, allocations: 0.8569 MB / 1.373 GB, free: 19.29 MB / 0.823 GB Notification: Performance of SimCode: time 1.603e-06/1.349, allocations: 4 kB / 1.373 GB, free: 19.29 MB / 0.823 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)