Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.53/1.53, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.001373/0.001373, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.634/1.634, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.000955/0.0009549, allocations: 92.03 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3046/0.3056, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/1.066, allocations: 116.3 MB / 0.9727 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/1.255, allocations: 141.8 MB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.255, allocations: 92.39 kB / 1.111 GB, free: 6.57 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.02116/1.276, allocations: 8.453 MB / 1.12 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.276, allocations: 8.656 kB / 1.12 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/1.276, allocations: 63.25 kB / 1.12 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/1.277, allocations: 363.7 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.277, allocations: 12 kB / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/1.277, allocations: 24 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005243/1.278, allocations: 226 kB / 1.12 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/1.278, allocations: 336.6 kB / 1.121 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.278, allocations: 1.031 kB / 1.121 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/1.278, allocations: 3.906 kB / 1.121 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/1.278, allocations: 12 kB / 1.121 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/1.281, allocations: 1.237 MB / 1.122 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/1.282, allocations: 263.4 kB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/1.282, allocations: 112.8 kB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/1.282, allocations: 4 kB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/1.282, allocations: 158.7 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/1.282, allocations: 0 / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0004622/1.283, allocations: 218.3 kB / 1.122 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/1.283, allocations: 140.5 kB / 1.123 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/1.283, allocations: 278.1 kB / 1.123 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/1.283, allocations: 25.7 kB / 1.123 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.283, allocations: 216 kB / 1.123 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/1.283, allocations: 90.66 kB / 1.123 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/1.283, allocations: 0 / 1.123 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.283, allocations: 346.7 kB / 1.123 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/1.284, allocations: 79.94 kB / 1.124 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/1.284, allocations: 165.5 kB / 1.124 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/1.284, allocations: 99.97 kB / 1.124 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.284, allocations: 0 / 1.124 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000452/1.284, allocations: 275.7 kB / 1.124 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.285, allocations: 0.5331 MB / 1.125 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.285, allocations: 0 / 1.125 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.285, allocations: 4.047 kB / 1.125 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/1.285, allocations: 75.89 kB / 1.125 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.285, allocations: 4 kB / 1.125 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/1.285, allocations: 43.81 kB / 1.125 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/1.285, allocations: 19.84 kB / 1.125 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.285, allocations: 4 kB / 1.125 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003436/1.286, allocations: 198.9 kB / 1.125 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/1.286, allocations: 4 kB / 1.125 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/1.286, allocations: 4 kB / 1.125 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/1.286, allocations: 61.25 kB / 1.125 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/1.286, allocations: 7.938 kB / 1.125 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.286, allocations: 31.77 kB / 1.125 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/1.286, allocations: 12 kB / 1.125 GB, free: 8.141 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * 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 0.0001029/1.286, allocations: 108.8 kB / 1.125 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/1.286, allocations: 35.62 kB / 1.125 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/1.286, allocations: 42.94 kB / 1.125 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.286, allocations: 7.906 kB / 1.125 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.286, allocations: 0 / 1.125 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.286, allocations: 3.984 kB / 1.125 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.288, allocations: 0.8684 MB / 1.126 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.288, allocations: 0 / 1.126 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/1.288, allocations: 64.19 kB / 1.126 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.288, allocations: 5.031 kB / 1.126 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/1.288, allocations: 11.98 kB / 1.126 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.288, allocations: 7.938 kB / 1.126 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.288, allocations: 0 / 1.126 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007837/1.289, allocations: 0.6771 MB / 1.127 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001023/1.29, allocations: 1.169 MB / 1.128 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/1.29, allocations: 112.7 kB / 1.128 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/1.29, allocations: 15.84 kB / 1.128 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.29, allocations: 23.98 kB / 1.128 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/1.29, allocations: 15.97 kB / 1.128 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.29, allocations: 12 kB / 1.128 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002364/1.291, allocations: 222.2 kB / 1.128 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001894/1.293, allocations: 131.3 kB / 1.128 GB, free: 4.316 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$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.000209/1.293, allocations: 120 kB / 1.129 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006222/1.293, allocations: 341.4 kB / 1.129 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.293, allocations: 0 / 1.129 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/1.294, allocations: 99.86 kB / 1.129 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/1.294, allocations: 78.88 kB / 1.129 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.296, allocations: 0.5695 MB / 1.13 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/1.296, allocations: 0.8698 MB / 1.131 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/1.296, allocations: 4 kB / 1.131 GB, free: 2.156 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)