Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",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.801/1.801, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009932/0.0009931, allocations: 173.3 kB / 487 MB, free: 5.414 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.156/1.156, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008219/0.0008219, allocations: 104.6 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4579/0.4588, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.6456, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/1.203, allocations: 156.8 MB / 1.358 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.204, allocations: 77.97 kB / 1.358 GB, free: 15.79 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.0459/1.249, allocations: 20.49 MB / 1.378 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.25, allocations: 9 kB / 1.378 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/1.25, allocations: 130.4 kB / 1.379 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/1.251, allocations: 0.7301 MB / 1.379 GB, free: 112 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/1.251, allocations: 63.69 kB / 1.379 GB, free: 40 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/1.251, allocations: 44.8 kB / 1.379 GB, free: 15.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007874/1.252, allocations: 447.3 kB / 1.38 GB, free: 15.74 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/1.253, allocations: 0.6274 MB / 1.38 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.253, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/1.253, allocations: 7.984 kB / 1.38 GB, free: 15.22 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.253, allocations: 16 kB / 1.38 GB, free: 15.21 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/1.256, allocations: 2.203 MB / 1.383 GB, free: 13.42 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/1.256, allocations: 0.5324 MB / 1.383 GB, free: 13.06 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/1.257, allocations: 205.3 kB / 1.383 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.294e-05/1.257, allocations: 10.14 kB / 1.383 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/1.257, allocations: 282.7 kB / 1.384 GB, free: 12.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/1.257, allocations: 0 / 1.384 GB, free: 12.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.0007805/1.258, allocations: 495.8 kB / 1.384 GB, free: 12.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/1.258, allocations: 133 kB / 1.384 GB, free: 12.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/1.259, allocations: 0.5559 MB / 1.385 GB, free: 11.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/1.259, allocations: 25.7 kB / 1.385 GB, free: 11.75 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/1.259, allocations: 300.8 kB / 1.385 GB, free: 11.49 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.259, allocations: 195.8 kB / 1.385 GB, free: 11.32 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/1.259, allocations: 0 / 1.385 GB, free: 11.32 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/1.259, allocations: 327 kB / 1.386 GB, free: 11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/1.26, allocations: 175.4 kB / 1.386 GB, free: 10.91 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/1.26, allocations: 291.4 kB / 1.386 GB, free: 10.67 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/1.26, allocations: 199.2 kB / 1.386 GB, free: 10.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.26, allocations: 4 kB / 1.386 GB, free: 10.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008159/1.261, allocations: 0.561 MB / 1.387 GB, free: 10.13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/1.261, allocations: 0.869 MB / 1.388 GB, free: 9.211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.261, allocations: 4 kB / 1.388 GB, free: 9.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.261, allocations: 4 kB / 1.388 GB, free: 9.203 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008791/1.262, allocations: 171 kB / 1.388 GB, free: 9.039 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.262, allocations: 7.938 kB / 1.388 GB, free: 9.031 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/1.263, allocations: 71.41 kB / 1.388 GB, free: 8.961 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/1.263, allocations: 27.86 kB / 1.388 GB, free: 8.941 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/1.263, allocations: 4 kB / 1.388 GB, free: 8.938 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006701/1.263, allocations: 449.2 kB / 1.388 GB, free: 8.641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/1.263, allocations: 0 / 1.388 GB, free: 8.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-06/1.263, allocations: 8 kB / 1.388 GB, free: 8.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/1.264, allocations: 151.8 kB / 1.388 GB, free: 8.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.264, allocations: 8 kB / 1.388 GB, free: 8.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/1.265, allocations: 55.56 kB / 1.389 GB, free: 8.426 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/1.265, allocations: 22.88 kB / 1.389 GB, free: 8.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001367/1.265, allocations: 123.9 kB / 1.389 GB, free: 8.285 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.265, allocations: 90.86 kB / 1.389 GB, free: 8.195 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/1.265, allocations: 88.19 kB / 1.389 GB, free: 8.152 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.265, allocations: 8 kB / 1.389 GB, free: 8.145 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.265, allocations: 3.984 kB / 1.389 GB, free: 8.141 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.265, allocations: 0 / 1.389 GB, free: 8.141 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.267, allocations: 1.32 MB / 1.39 GB, free: 7.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.267, allocations: 0 / 1.39 GB, free: 7.168 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/1.268, allocations: 111.7 kB / 1.39 GB, free: 7.062 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.268, allocations: 11.84 kB / 1.39 GB, free: 7.051 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/1.268, allocations: 3.984 kB / 1.39 GB, free: 7.047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.268, allocations: 4 kB / 1.39 GB, free: 7.043 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.268, allocations: 0 / 1.39 GB, free: 7.043 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001095/1.269, allocations: 0.8798 MB / 1.391 GB, free: 6.41 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001512/1.27, allocations: 1.516 MB / 1.393 GB, free: 5.281 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/1.271, allocations: 227.5 kB / 1.393 GB, free: 5.078 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.271, allocations: 4 kB / 1.393 GB, free: 5.074 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/1.271, allocations: 43.95 kB / 1.393 GB, free: 5.031 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/1.271, allocations: 42.62 kB / 1.393 GB, free: 4.996 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/1.271, allocations: 19.48 kB / 1.393 GB, free: 4.98 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000465/1.272, allocations: 434.5 kB / 1.393 GB, free: 4.672 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001815/1.274, allocations: 266.7 kB / 1.394 GB, free: 4.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001798/1.274, allocations: 112.5 kB / 1.394 GB, free: 4.293 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001071/1.275, allocations: 0.7492 MB / 1.394 GB, free: 3.797 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.275, allocations: 0 / 1.394 GB, free: 3.797 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/1.275, allocations: 242 kB / 1.395 GB, free: 3.641 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/1.276, allocations: 208.2 kB / 1.395 GB, free: 3.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/1.279, allocations: 1.164 MB / 1.396 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/1.279, allocations: 1.099 MB / 1.397 GB, free: 1.305 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.279, allocations: 4 kB / 1.397 GB, free: 1.301 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)