Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.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.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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 10.0.0-master/package.mo): time 1.807/1.807, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009123/0.0009122, allocations: 185.2 kB / 490.8 MB, free: 1.973 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.144/1.144, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0008479/0.000848, allocations: 90.27 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4247/0.4256, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.6138, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.52/1.134, allocations: 151.1 MB / 1.359 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/1.134, allocations: 76.2 kB / 1.359 GB, free: 17.19 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.01421/1.148, allocations: 5.472 MB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/1.148, allocations: 9.312 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/1.148, allocations: 41.98 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.149, allocations: 210.5 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/1.149, allocations: 15.19 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/1.149, allocations: 19.41 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003247/1.149, allocations: 169 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/1.149, allocations: 246.6 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.149, allocations: 0 / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/1.149, allocations: 1.312 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.149, allocations: 6.875 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.15, allocations: 0.8965 MB / 1.366 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/1.151, allocations: 199.6 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/1.151, allocations: 88.58 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/1.151, allocations: 9.875 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/1.151, allocations: 165.8 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/1.151, allocations: 1.031 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0003597/1.151, allocations: 185.2 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/1.151, allocations: 106.7 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/1.152, allocations: 174.7 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.152, allocations: 32.02 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/1.152, allocations: 149.8 kB / 1.367 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/1.152, allocations: 54.81 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/1.152, allocations: 2.5 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/1.152, allocations: 337 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/1.152, allocations: 73.16 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/1.152, allocations: 120 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/1.152, allocations: 83 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.152, allocations: 7.906 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005148/1.153, allocations: 242.5 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.153, allocations: 5.469 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.153, allocations: 7.031 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.153, allocations: 1.594 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/1.153, allocations: 68.11 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.153, allocations: 1.375 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/1.154, allocations: 95.47 kB / 1.368 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/1.154, allocations: 11.84 kB / 1.368 GB, free: 30.56 MB / 0.8386 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.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * 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 9.399e-05/1.154, allocations: 113.5 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/1.154, allocations: 22.25 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/1.154, allocations: 20.06 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.154, allocations: 2.406 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.154, allocations: 4.875 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.154, allocations: 2.625 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/1.154, allocations: 297.7 kB / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.154, allocations: 0 / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/1.155, allocations: 76.59 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.155, allocations: 5.281 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/1.155, allocations: 4.156 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.155, allocations: 1.062 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.155, allocations: 1.125 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003153/1.155, allocations: 248.8 kB / 1.369 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000381/1.155, allocations: 0.6243 MB / 1.37 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/1.155, allocations: 94.89 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/1.156, allocations: 3.078 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/1.156, allocations: 40.77 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.156, allocations: 40.2 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.156, allocations: 11.25 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.329e-05/1.156, allocations: 125.8 kB / 1.37 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00082/1.157, allocations: 66.27 kB / 1.37 GB, free: 29.4 MB / 0.8386 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.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * 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.0001534/1.157, allocations: 120 kB / 1.37 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003671/1.157, allocations: 218.5 kB / 1.37 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.157, allocations: 1.281 kB / 1.37 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/1.158, allocations: 114 kB / 1.371 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/1.158, allocations: 35.39 kB / 1.371 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/1.158, allocations: 316.8 kB / 1.371 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/1.159, allocations: 0.801 MB / 1.372 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.159, allocations: 0 / 1.372 GB, free: 28.39 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat