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.ActiveAirFlow.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.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.826/1.826, 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.0009119/0.0009119, allocations: 174.9 kB / 490.8 MB, free: 1.965 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.151/1.151, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008538/0.0008537, allocations: 88.91 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4463/0.4472, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.6381, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/1.157, allocations: 150.1 MB / 1.358 GB, free: 17.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/1.157, allocations: 75.45 kB / 1.358 GB, free: 17.06 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.006238/1.164, allocations: 2.516 MB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/1.164, allocations: 8.781 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/1.164, allocations: 20.25 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.164, allocations: 186.2 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.164, allocations: 6.016 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/1.164, allocations: 7.562 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001865/1.164, allocations: 81.69 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/1.164, allocations: 115.9 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.164, allocations: 0 / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/1.164, allocations: 10.31 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.164, allocations: 3.531 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/1.165, allocations: 453.5 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.165, allocations: 95.81 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/1.165, allocations: 34.33 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/1.165, allocations: 1.969 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1.165, allocations: 35.45 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/1.165, allocations: 0 / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002258/1.166, allocations: 98.95 kB / 1.362 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/1.166, allocations: 62.27 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/1.166, allocations: 129.1 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/1.166, allocations: 25.7 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/1.166, allocations: 106.9 kB / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/1.166, allocations: 28.72 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/1.166, allocations: 1.125 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/1.166, allocations: 327.7 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/1.166, allocations: 31.97 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.683e-05/1.166, allocations: 25.58 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.819e-05/1.166, allocations: 27.72 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.166, allocations: 0 / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001534/1.166, allocations: 96.81 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.166, allocations: 4.844 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.166, allocations: 0 / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/1.166, allocations: 1.406 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/1.166, allocations: 28.73 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/1.166, allocations: 1.547 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.167, allocations: 18.81 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/1.167, allocations: 3.344 kB / 1.363 GB, free: 31.23 MB / 0.8386 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 7.601e-05/1.167, allocations: 107.6 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/1.167, allocations: 17.62 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/1.167, allocations: 14.02 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.167, allocations: 2.5 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.167, allocations: 0.875 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.167, allocations: 1.125 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/1.167, allocations: 205.9 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.167, allocations: 0 / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.167, allocations: 26.78 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.167, allocations: 2.422 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/1.167, allocations: 5.031 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.167, allocations: 1.094 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.167, allocations: 0 / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001898/1.167, allocations: 206.8 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002593/1.168, allocations: 0.5661 MB / 1.364 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/1.168, allocations: 88.77 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/1.168, allocations: 1.375 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.168, allocations: 13.02 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/1.168, allocations: 15.2 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/1.168, allocations: 8.125 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.975e-05/1.168, allocations: 104.6 kB / 1.364 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007647/1.169, allocations: 32.38 kB / 1.364 GB, free: 30.09 MB / 0.8386 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.0001074/1.169, allocations: 108.3 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001506/1.169, allocations: 70.62 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/1.169, allocations: 0 / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/1.169, allocations: 47.33 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/1.169, allocations: 17.38 kB / 1.364 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/1.17, allocations: 166.5 kB / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.17, allocations: 0.7355 MB / 1.365 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.17, allocations: 3.938 kB / 1.365 GB, free: 29.18 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat