Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.818/1.818, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009351/0.0009351, allocations: 184.1 kB / 490.8 MB, free: 1.945 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.16/1.16, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.0009135/0.0009135, allocations: 86.92 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4491/0.4501, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.6469, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5488/1.196, allocations: 150.9 MB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/1.196, allocations: 79.52 kB / 1.359 GB, free: 17.56 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.01626/1.212, allocations: 6.455 MB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.212, allocations: 13.03 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/1.212, allocations: 52.62 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/1.213, allocations: 230.7 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/1.213, allocations: 26.19 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/1.213, allocations: 25.53 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006054/1.213, allocations: 295.4 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/1.214, allocations: 382.8 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.214, allocations: 0 / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/1.214, allocations: 1.156 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.214, allocations: 15.25 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/1.216, allocations: 1.2 MB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/1.216, allocations: 322.6 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/1.217, allocations: 154.7 kB / 1.368 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/1.217, allocations: 4.344 kB / 1.368 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/1.217, allocations: 41.64 kB / 1.368 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/1.217, allocations: 0 / 1.368 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0006109/1.217, allocations: 285.2 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/1.217, allocations: 109.6 kB / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/1.218, allocations: 222.6 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/1.218, allocations: 25.7 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/1.218, allocations: 192.9 kB / 1.369 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/1.218, allocations: 106.9 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/1.218, allocations: 1.125 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.218, allocations: 342.4 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/1.218, allocations: 102.3 kB / 1.369 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/1.218, allocations: 133.3 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/1.219, allocations: 85.23 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.219, allocations: 4 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004809/1.219, allocations: 283.8 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/1.219, allocations: 7.797 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.219, allocations: 0 / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.219, allocations: 2.25 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/1.22, allocations: 113.7 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.22, allocations: 1.375 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/1.22, allocations: 66.47 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/1.22, allocations: 13.3 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001066/1.22, allocations: 122.7 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/1.22, allocations: 33.03 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/1.22, allocations: 34.86 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.22, allocations: 8.906 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.22, allocations: 1 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.22, allocations: 4 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/1.221, allocations: 407.7 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.221, allocations: 0 / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/1.221, allocations: 112.8 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.221, allocations: 2.062 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/1.221, allocations: 4.016 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.221, allocations: 5.25 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.221, allocations: 1.125 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005913/1.222, allocations: 0.5511 MB / 1.371 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006107/1.223, allocations: 0.9341 MB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/1.223, allocations: 108 kB / 1.372 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/1.223, allocations: 1.219 kB / 1.372 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/1.223, allocations: 61.47 kB / 1.372 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.223, allocations: 65.17 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/1.223, allocations: 14.3 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001242/1.224, allocations: 154.8 kB / 1.373 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009644/1.225, allocations: 78.11 kB / 1.373 GB, free: 29.16 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: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0001462/1.225, allocations: 119.4 kB / 1.373 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000454/1.225, allocations: 277.1 kB / 1.373 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.225, allocations: 1.062 kB / 1.373 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/1.225, allocations: 181.9 kB / 1.373 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/1.226, allocations: 38.23 kB / 1.373 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.227, allocations: 486.8 kB / 1.374 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005538/1.227, allocations: 0.8617 MB / 1.375 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.227, allocations: 0 / 1.375 GB, free: 28.12 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat