Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",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.793/1.793, allocations: 387.2 MB / 394.5 MB, free: 13.22 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.001012/0.001013, allocations: 183.6 kB / 487 MB, free: 0.6562 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.125/1.125, allocations: 221.3 MB / 0.7819 GB, free: 6.703 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.0008419/0.0008419, allocations: 97.41 kB / 0.9213 GB, free: 43.61 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2309/0.2317, allocations: 148.5 MB / 1.066 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.7539, allocations: 142.3 MB / 1.205 GB, free: 72.62 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.9111, allocations: 149.3 MB / 1.351 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.9113, allocations: 75.94 kB / 1.351 GB, free: 13.53 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.006467/0.9178, allocations: 2.566 MB / 1.354 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.9178, allocations: 12 kB / 1.354 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.9179, allocations: 15.81 kB / 1.354 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.918, allocations: 186.8 kB / 1.354 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.918, allocations: 8.484 kB / 1.354 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.9181, allocations: 11.91 kB / 1.354 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001741/0.9182, allocations: 88.55 kB / 1.354 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.9184, allocations: 111.6 kB / 1.354 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.9185, allocations: 6.719 kB / 1.354 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.9185, allocations: 0 / 1.354 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.9185, allocations: 4.875 kB / 1.354 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.9191, allocations: 457.5 kB / 1.355 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.9193, allocations: 90.59 kB / 1.355 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.9194, allocations: 36.92 kB / 1.355 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.9194, allocations: 0 / 1.355 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.9194, allocations: 38.56 kB / 1.355 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.9194, allocations: 0 / 1.355 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002192/0.9197, allocations: 97.7 kB / 1.355 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.9197, allocations: 63.27 kB / 1.355 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.9198, allocations: 132 kB / 1.355 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.9198, allocations: 25.7 kB / 1.355 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.9199, allocations: 108.2 kB / 1.355 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.9199, allocations: 27.61 kB / 1.355 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.9199, allocations: 4 kB / 1.355 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.92, allocations: 326.7 kB / 1.355 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.9201, allocations: 24 kB / 1.356 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.9201, allocations: 29.2 kB / 1.356 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.9202, allocations: 27.92 kB / 1.356 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.9202, allocations: 0 / 1.356 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001599/0.9204, allocations: 90.14 kB / 1.356 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.9204, allocations: 4 kB / 1.356 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.9204, allocations: 0 / 1.356 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.9204, allocations: 0 / 1.356 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.9206, allocations: 36.91 kB / 1.356 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.9206, allocations: 0 / 1.356 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.9207, allocations: 16.92 kB / 1.356 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.9207, allocations: 12 kB / 1.356 GB, free: 8.758 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.593e-05/0.9208, allocations: 105 kB / 1.356 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.9209, allocations: 7.906 kB / 1.356 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.9209, allocations: 8.5 kB / 1.356 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.9209, allocations: 11.89 kB / 1.356 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9209, allocations: 3.938 kB / 1.356 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9209, allocations: 0 / 1.356 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.9211, allocations: 207 kB / 1.356 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9211, allocations: 0 / 1.356 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.9213, allocations: 27.98 kB / 1.356 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9213, allocations: 4.844 kB / 1.356 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.9213, allocations: 7.922 kB / 1.356 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9213, allocations: 3.906 kB / 1.356 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9213, allocations: 1.312 kB / 1.356 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001834/0.9215, allocations: 197.3 kB / 1.356 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000284/0.9218, allocations: 0.5661 MB / 1.357 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.9218, allocations: 81.02 kB / 1.357 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.9219, allocations: 0 / 1.357 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.922, allocations: 23.89 kB / 1.357 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.9221, allocations: 18.31 kB / 1.357 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.9221, allocations: 4 kB / 1.357 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.857e-05/0.9222, allocations: 110.8 kB / 1.357 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007701/0.923, allocations: 27.91 kB / 1.357 GB, free: 7.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001319/0.9231, allocations: 114.9 kB / 1.357 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.9233, allocations: 75.98 kB / 1.357 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.9233, allocations: 0 / 1.357 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.9233, allocations: 44.7 kB / 1.357 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.9235, allocations: 11.98 kB / 1.357 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.9239, allocations: 154.7 kB / 1.357 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.9243, allocations: 0.7422 MB / 1.358 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of SimCode: time 2.81e-07/0.9243, allocations: 0 / 1.358 GB, free: 6.086 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat