Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.795/1.795, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009425/0.0009424, allocations: 177.3 kB / 487 MB, free: 5.363 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.172/1.172, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.0008655/0.0008655, allocations: 113.8 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4438/0.4447, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.6574, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/1.195, allocations: 149.3 MB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/1.195, allocations: 72.59 kB / 1.351 GB, free: 15.89 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.006257/1.202, allocations: 2.528 MB / 1.354 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.202, allocations: 9.312 kB / 1.354 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/1.202, allocations: 15.66 kB / 1.354 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.202, allocations: 180.9 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.202, allocations: 4.844 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/1.202, allocations: 7.906 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/1.202, allocations: 86.72 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/1.202, allocations: 118.4 kB / 1.354 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/1.202, allocations: 0.9688 kB / 1.354 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.202, allocations: 0 / 1.354 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/1.202, allocations: 7.906 kB / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/1.203, allocations: 456.2 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/1.203, allocations: 93.91 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/1.203, allocations: 37.3 kB / 1.355 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/1.203, allocations: 8.25 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/1.203, allocations: 32.92 kB / 1.355 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/1.203, allocations: 0 / 1.355 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002438/1.203, allocations: 95.72 kB / 1.355 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/1.203, allocations: 57.23 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/1.204, allocations: 126.4 kB / 1.355 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/1.204, allocations: 25.7 kB / 1.355 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/1.204, allocations: 111.4 kB / 1.355 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/1.204, allocations: 33.34 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.204, allocations: 0 / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/1.204, allocations: 320.1 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/1.204, allocations: 29.11 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/1.204, allocations: 26.19 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/1.204, allocations: 25.58 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.204, allocations: 0 / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001655/1.204, allocations: 97.58 kB / 1.356 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.204, allocations: 5.844 kB / 1.356 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/1.204, allocations: 4 kB / 1.356 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/1.204, allocations: 1.031 kB / 1.356 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/1.204, allocations: 28.03 kB / 1.356 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/1.204, allocations: 2.625 kB / 1.356 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/1.204, allocations: 20.84 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/1.204, allocations: 3.062 kB / 1.356 GB, free: 14.06 MB / 0.8073 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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 5.261e-05/1.204, allocations: 109.9 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/1.205, allocations: 9.375 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/1.205, allocations: 10.86 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.205, allocations: 1.672 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.205, allocations: 0.9062 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.205, allocations: 0.5625 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/1.205, allocations: 214.9 kB / 1.356 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.205, allocations: 0 / 1.356 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.205, allocations: 28.94 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.205, allocations: 5.516 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.205, allocations: 0.5156 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.205, allocations: 1.828 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.205, allocations: 0.75 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001742/1.205, allocations: 202.2 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001933/1.205, allocations: 0.5718 MB / 1.357 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/1.205, allocations: 88.94 kB / 1.357 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.205, allocations: 1 kB / 1.357 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.206, allocations: 16.98 kB / 1.357 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/1.206, allocations: 19.64 kB / 1.357 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.206, allocations: 3.875 kB / 1.357 GB, free: 13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.635e-05/1.206, allocations: 109.8 kB / 1.357 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007834/1.206, allocations: 29.44 kB / 1.357 GB, free: 12.91 MB / 0.8073 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.000115/1.207, allocations: 109.5 kB / 1.357 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001568/1.207, allocations: 75.23 kB / 1.357 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.207, allocations: 0 / 1.357 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/1.207, allocations: 44.36 kB / 1.357 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/1.207, allocations: 13.47 kB / 1.357 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/1.207, allocations: 154.1 kB / 1.357 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/1.208, allocations: 0.7476 MB / 1.358 GB, free: 28.01 MB / 0.823 GB Notification: Performance of SimCode: time 3.21e-07/1.208, allocations: 0 / 1.358 GB, free: 28.01 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat