Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.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.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides",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.817/1.817, 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.0009411/0.0009408, allocations: 180.7 kB / 487 MB, free: 5.398 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.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.0008272/0.0008272, allocations: 106.7 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4315/0.4323, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.6262, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5331/1.159, allocations: 150.3 MB / 1.352 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/1.16, allocations: 78.78 kB / 1.352 GB, free: 15.62 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.01481/1.174, allocations: 5.46 MB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.174, allocations: 10.23 kB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.175, allocations: 37.66 kB / 1.358 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.175, allocations: 199.6 kB / 1.358 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/1.175, allocations: 17.69 kB / 1.358 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/1.175, allocations: 24.25 kB / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003791/1.175, allocations: 167.3 kB / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/1.176, allocations: 249.3 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.176, allocations: 1 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/1.176, allocations: 2.344 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.176, allocations: 7.156 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.177, allocations: 0.898 MB / 1.359 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/1.177, allocations: 202 kB / 1.359 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/1.177, allocations: 88.8 kB / 1.359 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/1.177, allocations: 2.75 kB / 1.359 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/1.178, allocations: 161.3 kB / 1.36 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/1.178, allocations: 0 / 1.36 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0003872/1.178, allocations: 189.3 kB / 1.36 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.178, allocations: 111.1 kB / 1.36 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/1.178, allocations: 179.5 kB / 1.36 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/1.178, allocations: 27.92 kB / 1.36 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/1.178, allocations: 154 kB / 1.36 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/1.178, allocations: 55.56 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/1.178, allocations: 1.656 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/1.178, allocations: 336.1 kB / 1.361 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/1.179, allocations: 72.16 kB / 1.361 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/1.179, allocations: 118.2 kB / 1.361 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/1.179, allocations: 87.16 kB / 1.361 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.179, allocations: 0 / 1.361 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005387/1.18, allocations: 246.7 kB / 1.361 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.18, allocations: 5.156 kB / 1.361 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.18, allocations: 1.188 kB / 1.361 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.18, allocations: 6.469 kB / 1.361 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/1.18, allocations: 71.7 kB / 1.361 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.18, allocations: 2.094 kB / 1.361 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/1.181, allocations: 84.56 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/1.181, allocations: 14.16 kB / 1.361 GB, free: 13.01 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: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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 8.483e-05/1.181, allocations: 119.1 kB / 1.361 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/1.181, allocations: 17.53 kB / 1.361 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/1.181, allocations: 27.94 kB / 1.361 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.181, allocations: 7.031 kB / 1.361 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.181, allocations: 1.688 kB / 1.361 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.181, allocations: 1.875 kB / 1.361 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/1.181, allocations: 296.1 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.181, allocations: 0.6562 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/1.181, allocations: 67.56 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.181, allocations: 9.688 kB / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.181, allocations: 3.391 kB / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.182, allocations: 1.75 kB / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.182, allocations: 1.734 kB / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002996/1.182, allocations: 253.4 kB / 1.362 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003079/1.182, allocations: 0.6237 MB / 1.363 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/1.182, allocations: 94.23 kB / 1.363 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/1.182, allocations: 4 kB / 1.363 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/1.182, allocations: 46.25 kB / 1.363 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.183, allocations: 40.86 kB / 1.363 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.183, allocations: 9.672 kB / 1.363 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.5e-05/1.183, allocations: 131 kB / 1.363 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008322/1.183, allocations: 65.09 kB / 1.363 GB, free: 11.54 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0001327/1.184, allocations: 123.9 kB / 1.363 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003452/1.184, allocations: 213.8 kB / 1.363 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/1.184, allocations: 3.938 kB / 1.363 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1.184, allocations: 106.5 kB / 1.363 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.184, allocations: 30.61 kB / 1.363 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/1.185, allocations: 322.2 kB / 1.364 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/1.185, allocations: 0.8017 MB / 1.365 GB, free: 26.13 MB / 0.823 GB Notification: Performance of SimCode: time 8.82e-07/1.186, allocations: 0 / 1.365 GB, free: 26.13 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat