Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.895/1.895, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001111/0.001111, allocations: 181.2 kB / 487 MB, free: 5.328 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.233/1.233, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0009179/0.000918, allocations: 90.06 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4481/0.4491, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.6626, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.557/1.22, allocations: 153.6 MB / 1.355 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.22, allocations: 90.98 kB / 1.355 GB, free: 15.84 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.03917/1.259, allocations: 18.08 MB / 1.373 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/1.259, allocations: 12 kB / 1.373 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.259, allocations: 122.5 kB / 1.373 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/1.26, allocations: 0.6021 MB / 1.374 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/1.26, allocations: 28 kB / 1.374 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/1.26, allocations: 60 kB / 1.374 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008045/1.261, allocations: 0.5113 MB / 1.374 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009547/1.262, allocations: 0.7055 MB / 1.375 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.262, allocations: 0 / 1.375 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/1.262, allocations: 7.984 kB / 1.375 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.262, allocations: 31.89 kB / 1.375 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/1.265, allocations: 2.454 MB / 1.377 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/1.265, allocations: 382.6 kB / 1.378 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/1.266, allocations: 346.5 kB / 1.378 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/1.266, allocations: 13.27 kB / 1.378 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/1.266, allocations: 291.3 kB / 1.378 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 2.154e-06/1.266, allocations: 4 kB / 1.378 GB, free: 0.6406 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.0006692/1.267, allocations: 498.8 kB / 1.379 GB, free: 276 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/1.267, allocations: 170.9 kB / 1.379 GB, free: 68 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/1.267, allocations: 430.2 kB / 1.38 GB, free: 15.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/1.267, allocations: 29.7 kB / 1.38 GB, free: 15.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/1.268, allocations: 339.9 kB / 1.38 GB, free: 15.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/1.268, allocations: 251.9 kB / 1.38 GB, free: 15.19 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/1.268, allocations: 0 / 1.38 GB, free: 15.19 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.268, allocations: 378.1 kB / 1.38 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/1.268, allocations: 186 kB / 1.381 GB, free: 14.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/1.268, allocations: 278.9 kB / 1.381 GB, free: 14.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/1.269, allocations: 216.2 kB / 1.381 GB, free: 14.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.269, allocations: 3.938 kB / 1.381 GB, free: 14.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008297/1.27, allocations: 0.568 MB / 1.382 GB, free: 13.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/1.27, allocations: 184.6 kB / 1.382 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.27, allocations: 3.938 kB / 1.382 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.27, allocations: 11.91 kB / 1.382 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/1.27, allocations: 167.2 kB / 1.382 GB, free: 13.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.27, allocations: 4 kB / 1.382 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/1.271, allocations: 91.48 kB / 1.382 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.271, allocations: 23.19 kB / 1.382 GB, free: 13.49 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/1.271, allocations: 7.906 kB / 1.382 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006499/1.272, allocations: 446.7 kB / 1.383 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/1.272, allocations: 0 / 1.383 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/1.272, allocations: 4 kB / 1.383 GB, free: 13.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/1.272, allocations: 134.8 kB / 1.383 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/1.272, allocations: 4.031 kB / 1.383 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/1.272, allocations: 63.5 kB / 1.383 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/1.272, allocations: 26.81 kB / 1.383 GB, free: 12.96 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001372/1.273, allocations: 124.6 kB / 1.383 GB, free: 12.83 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/1.273, allocations: 71.14 kB / 1.383 GB, free: 12.76 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/1.273, allocations: 72.62 kB / 1.383 GB, free: 12.72 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.273, allocations: 8 kB / 1.383 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.273, allocations: 0 / 1.383 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/1.273, allocations: 7.891 kB / 1.383 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.275, allocations: 1.375 MB / 1.384 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/1.275, allocations: 3.938 kB / 1.384 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/1.275, allocations: 143.2 kB / 1.385 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.275, allocations: 4 kB / 1.385 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/1.275, allocations: 11.42 kB / 1.385 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.275, allocations: 4 kB / 1.385 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.275, allocations: 3.938 kB / 1.385 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00109/1.276, allocations: 0.8782 MB / 1.385 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001536/1.278, allocations: 1.54 MB / 1.387 GB, free: 9.727 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.278, allocations: 151.8 kB / 1.387 GB, free: 9.562 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/1.278, allocations: 0 / 1.387 GB, free: 9.562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/1.279, allocations: 51.86 kB / 1.387 GB, free: 9.512 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/1.279, allocations: 43.28 kB / 1.387 GB, free: 9.477 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/1.279, allocations: 27.17 kB / 1.387 GB, free: 9.453 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000329/1.279, allocations: 328.4 kB / 1.388 GB, free: 9.219 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001755/1.281, allocations: 290.3 kB / 1.388 GB, free: 8.934 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0001561/1.281, allocations: 115.1 kB / 1.388 GB, free: 8.812 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001043/1.282, allocations: 0.7755 MB / 1.389 GB, free: 8.285 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.282, allocations: 384 / 1.389 GB, free: 8.285 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/1.282, allocations: 264.5 kB / 1.389 GB, free: 8.105 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/1.283, allocations: 127.4 kB / 1.389 GB, free: 8.004 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/1.285, allocations: 1.187 MB / 1.39 GB, free: 6.926 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/1.286, allocations: 1.1 MB / 1.391 GB, free: 5.793 MB / 0.823 GB Notification: Performance of SimCode: time 3.21e-07/1.286, allocations: 0 / 1.391 GB, free: 5.793 MB / 0.823 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)