Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",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 10.0.0-master/package.mo): time 1.91/1.91, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.0009748/0.000975, allocations: 182.8 kB / 490.8 MB, free: 1.887 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.252/1.252, allocations: 221.3 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 97.22 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5001/0.501, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.7288, allocations: 143 MB / 1.212 GB, free: 39.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5787/1.308, allocations: 154.3 MB / 1.362 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/1.308, allocations: 89.12 kB / 1.362 GB, free: 17.16 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.06018/1.368, allocations: 25.29 MB / 1.387 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.368, allocations: 9.094 kB / 1.387 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/1.368, allocations: 155.9 kB / 1.387 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/1.371, allocations: 0.7686 MB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/1.371, allocations: 34.66 kB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.371, allocations: 77.59 kB / 1.388 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002153/1.373, allocations: 0.632 MB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/1.376, allocations: 0.8467 MB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/1.376, allocations: 1.25 kB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.376, allocations: 2.375 kB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/1.376, allocations: 26.66 kB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006462/1.382, allocations: 3.443 MB / 1.393 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.384, allocations: 0.7814 MB / 1.394 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/1.385, allocations: 377.9 kB / 1.394 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/1.385, allocations: 17.78 kB / 1.394 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/1.385, allocations: 337.8 kB / 1.395 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 3.576e-06/1.385, allocations: 0 / 1.395 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.001054/1.386, allocations: 0.6028 MB / 1.395 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.386, allocations: 220.1 kB / 1.395 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/1.387, allocations: 0.5733 MB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/1.387, allocations: 32.23 kB / 1.396 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/1.387, allocations: 413.9 kB / 1.396 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/1.387, allocations: 284.9 kB / 1.397 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/1.387, allocations: 1.531 kB / 1.397 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.388, allocations: 347.3 kB / 1.397 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/1.388, allocations: 240.4 kB / 1.397 GB, free: 22.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/1.389, allocations: 407.5 kB / 1.398 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/1.389, allocations: 296.1 kB / 1.398 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.389, allocations: 1.469 kB / 1.398 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00124/1.39, allocations: 0.7666 MB / 1.399 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/1.391, allocations: 0.6176 MB / 1.399 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.391, allocations: 2 kB / 1.399 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.391, allocations: 9.281 kB / 1.399 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/1.392, allocations: 201.4 kB / 1.399 GB, free: 21.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/1.392, allocations: 13.39 kB / 1.399 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006867/1.392, allocations: 173.1 kB / 1.4 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/1.392, allocations: 29.81 kB / 1.4 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/1.392, allocations: 6.188 kB / 1.4 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/1.393, allocations: 0.6012 MB / 1.4 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.393, allocations: 1.438 kB / 1.4 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/1.393, allocations: 5.719 kB / 1.4 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/1.394, allocations: 162.3 kB / 1.4 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.394, allocations: 4.938 kB / 1.4 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/1.395, allocations: 117.2 kB / 1.4 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/1.395, allocations: 27.38 kB / 1.4 GB, free: 21.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.0001707/1.395, allocations: 132 kB / 1.401 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.395, allocations: 103.5 kB / 1.401 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/1.395, allocations: 95.34 kB / 1.401 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.395, allocations: 8.812 kB / 1.401 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.395, allocations: 0.5938 kB / 1.401 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.395, allocations: 4.766 kB / 1.401 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/1.397, allocations: 1.513 MB / 1.402 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.397, allocations: 0 / 1.402 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/1.398, allocations: 179.5 kB / 1.402 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.398, allocations: 11.47 kB / 1.402 GB, free: 20.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/1.398, allocations: 6.578 kB / 1.402 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.398, allocations: 3 kB / 1.402 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.398, allocations: 1.438 kB / 1.402 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001435/1.399, allocations: 1.046 MB / 1.403 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002076/1.402, allocations: 1.76 MB / 1.405 GB, free: 19.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.402, allocations: 177.2 kB / 1.405 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.402, allocations: 2.094 kB / 1.405 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/1.402, allocations: 68.53 kB / 1.405 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/1.402, allocations: 42.88 kB / 1.405 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/1.402, allocations: 27.27 kB / 1.405 GB, free: 19.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006752/1.403, allocations: 446.7 kB / 1.406 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002643/1.406, allocations: 376.8 kB / 1.406 GB, free: 18.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.000236/1.406, allocations: 140.3 kB / 1.406 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001433/1.407, allocations: 1.059 MB / 1.407 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.407, allocations: 4 kB / 1.407 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/1.408, allocations: 316.7 kB / 1.408 GB, free: 17.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/1.409, allocations: 200.9 kB / 1.408 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/1.411, allocations: 1.372 MB / 1.409 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008005/1.412, allocations: 1.209 MB / 1.41 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.412, allocations: 0 / 1.41 GB, free: 15.14 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)