Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009274/0.0009276, allocations: 182.1 kB / 487 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 6.828 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 103.7 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2247/0.2256, allocations: 148.5 MB / 1.066 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.7452, allocations: 142.3 MB / 1.205 GB, free: 73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.8953, allocations: 150.1 MB / 1.352 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.8956, allocations: 75.94 kB / 1.352 GB, free: 13.19 MB / 0.8542 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.01665/0.9122, allocations: 6.459 MB / 1.358 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9123, allocations: 12 kB / 1.358 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.9124, allocations: 51.34 kB / 1.358 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.9126, allocations: 237.8 kB / 1.359 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.9126, allocations: 16 kB / 1.359 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.9127, allocations: 28 kB / 1.359 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005419/0.9132, allocations: 290 kB / 1.359 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.9138, allocations: 395.3 kB / 1.359 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.9139, allocations: 0 / 1.359 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.9139, allocations: 0 / 1.359 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.9139, allocations: 12 kB / 1.359 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.9156, allocations: 1.188 MB / 1.36 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.916, allocations: 329 kB / 1.361 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.9163, allocations: 166.8 kB / 1.361 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.9163, allocations: 4.312 kB / 1.361 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.9163, allocations: 42.47 kB / 1.361 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 1.432e-06/0.9163, allocations: 0 / 1.361 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.0005489/0.9169, allocations: 277.7 kB / 1.361 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.9169, allocations: 110.8 kB / 1.361 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.9171, allocations: 224.8 kB / 1.362 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.9172, allocations: 25.7 kB / 1.362 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.9173, allocations: 184.3 kB / 1.362 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.9174, allocations: 110.4 kB / 1.362 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.9174, allocations: 0 / 1.362 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9175, allocations: 346.7 kB / 1.362 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.9177, allocations: 92.66 kB / 1.362 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.9179, allocations: 139.5 kB / 1.362 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.918, allocations: 81.38 kB / 1.362 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.918, allocations: 0 / 1.362 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004535/0.9185, allocations: 289 kB / 1.363 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.9185, allocations: 6.438 kB / 1.363 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9185, allocations: 0 / 1.363 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.9185, allocations: 4 kB / 1.363 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.9191, allocations: 111.9 kB / 1.363 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9191, allocations: 3.984 kB / 1.363 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.9194, allocations: 71.8 kB / 1.363 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.9195, allocations: 11.98 kB / 1.363 GB, free: 1.75 MB / 0.8542 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 9.396e-05/0.9196, allocations: 112.8 kB / 1.363 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.9197, allocations: 35.62 kB / 1.363 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.9197, allocations: 33.89 kB / 1.363 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9197, allocations: 4.938 kB / 1.363 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9198, allocations: 0 / 1.363 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9198, allocations: 7.984 kB / 1.363 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.9203, allocations: 409.7 kB / 1.364 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9203, allocations: 0 / 1.364 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.9208, allocations: 107.9 kB / 1.364 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.9208, allocations: 7.906 kB / 1.364 GB, free: 1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.9208, allocations: 8.984 kB / 1.364 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.9208, allocations: 4 kB / 1.364 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9209, allocations: 0 / 1.364 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005376/0.9214, allocations: 0.5563 MB / 1.364 GB, free: 416 kB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006229/0.922, allocations: 0.9255 MB / 1.365 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.9221, allocations: 112.7 kB / 1.365 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.9222, allocations: 0 / 1.365 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.9226, allocations: 68.78 kB / 1.365 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.9228, allocations: 55.92 kB / 1.365 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.9228, allocations: 21.8 kB / 1.365 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001115/0.9229, allocations: 153.2 kB / 1.365 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009422/0.9239, allocations: 79.69 kB / 1.366 GB, free: 14.95 MB / 0.8698 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.0001397/0.924, allocations: 112.1 kB / 1.366 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.9245, allocations: 275.8 kB / 1.366 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9245, allocations: 0 / 1.366 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.9248, allocations: 183.8 kB / 1.366 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.9251, allocations: 30.45 kB / 1.366 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.9262, allocations: 494.1 kB / 1.367 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.9267, allocations: 0.8667 MB / 1.367 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.9267, allocations: 0 / 1.367 GB, free: 12.95 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat