Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.747/1.747, allocations: 387.2 MB / 394.5 MB, free: 13.32 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.0009767/0.0009768, allocations: 185.7 kB / 487 MB, free: 0.7461 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.127/1.127, 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.000826/0.000826, allocations: 94.2 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2207/0.2215, allocations: 148.5 MB / 1.066 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.7463, allocations: 142.3 MB / 1.205 GB, free: 72.64 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.8947, allocations: 149.3 MB / 1.351 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.895, allocations: 75.94 kB / 1.351 GB, free: 13.91 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0062/0.9012, allocations: 2.523 MB / 1.354 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.9012, allocations: 8 kB / 1.354 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.9013, allocations: 19.81 kB / 1.354 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9014, allocations: 182.8 kB / 1.354 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.9014, allocations: 4.625 kB / 1.354 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.9014, allocations: 8.938 kB / 1.354 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/0.9016, allocations: 92.45 kB / 1.354 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.9018, allocations: 107.6 kB / 1.354 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.9018, allocations: 4 kB / 1.354 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.9018, allocations: 0 / 1.354 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.9019, allocations: 0 / 1.354 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.9025, allocations: 458.3 kB / 1.355 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.9027, allocations: 98.64 kB / 1.355 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.9027, allocations: 37.7 kB / 1.355 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.9028, allocations: 3.984 kB / 1.355 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.9028, allocations: 30.56 kB / 1.355 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.9028, allocations: 0 / 1.355 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002166/0.903, allocations: 97.5 kB / 1.355 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.9031, allocations: 55.62 kB / 1.355 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.9032, allocations: 135.8 kB / 1.355 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.9032, allocations: 29.64 kB / 1.355 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.9032, allocations: 107.8 kB / 1.355 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.9033, allocations: 29.91 kB / 1.355 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.9033, allocations: 0 / 1.355 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.9034, allocations: 322.8 kB / 1.355 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.9034, allocations: 24 kB / 1.355 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.9035, allocations: 31.98 kB / 1.355 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.9035, allocations: 24.59 kB / 1.355 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9036, allocations: 0 / 1.355 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001596/0.9037, allocations: 102.2 kB / 1.356 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.9037, allocations: 4 kB / 1.356 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.9037, allocations: 0 / 1.356 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.9038, allocations: 0 / 1.356 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.9039, allocations: 32.48 kB / 1.356 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.9039, allocations: 3.984 kB / 1.356 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.904, allocations: 12 kB / 1.356 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.9041, allocations: 3.984 kB / 1.356 GB, free: 9.199 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.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.023e-05/0.9041, allocations: 108.9 kB / 1.356 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.9042, allocations: 12.91 kB / 1.356 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.9042, allocations: 12.5 kB / 1.356 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9042, allocations: 4 kB / 1.356 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9042, allocations: 0 / 1.356 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.9042, allocations: 7.922 kB / 1.356 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.9044, allocations: 206 kB / 1.356 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9045, allocations: 0 / 1.356 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.9046, allocations: 31.97 kB / 1.356 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9046, allocations: 0.75 kB / 1.356 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.9046, allocations: 0.9375 kB / 1.356 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9046, allocations: 0 / 1.356 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9046, allocations: 5.891 kB / 1.356 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001921/0.9048, allocations: 201.2 kB / 1.356 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002679/0.9051, allocations: 0.5667 MB / 1.357 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.9052, allocations: 88.94 kB / 1.357 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.9052, allocations: 0 / 1.357 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9053, allocations: 15.98 kB / 1.357 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.9054, allocations: 15.98 kB / 1.357 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.9054, allocations: 12.67 kB / 1.357 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.097e-05/0.9055, allocations: 103.7 kB / 1.357 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007785/0.9063, allocations: 27.91 kB / 1.357 GB, free: 7.707 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.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.0001016/0.9064, allocations: 111.2 kB / 1.357 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.9065, allocations: 73.36 kB / 1.357 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.9065, allocations: 0 / 1.357 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.9066, allocations: 51.92 kB / 1.357 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.9068, allocations: 13.78 kB / 1.357 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.9072, allocations: 162.6 kB / 1.357 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.9075, allocations: 0.7308 MB / 1.358 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/0.9075, allocations: 4 kB / 1.358 GB, free: 6.516 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat