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.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.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.748/1.748, allocations: 387.2 MB / 394.5 MB, free: 13.25 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.0009595/0.0009595, allocations: 183.8 kB / 487 MB, free: 0.6914 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.129/1.129, allocations: 221.3 MB / 0.7819 GB, free: 6.738 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.0008253/0.0008253, allocations: 102.5 kB / 0.9213 GB, free: 43.64 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2284/0.2292, allocations: 148.5 MB / 1.066 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.7692, allocations: 142.3 MB / 1.205 GB, free: 72.86 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.921, allocations: 150.4 MB / 1.352 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.9212, allocations: 75.94 kB / 1.352 GB, free: 12.85 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.01452/0.9357, allocations: 5.462 MB / 1.358 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.9358, allocations: 8 kB / 1.358 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.9359, allocations: 40.72 kB / 1.358 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.9361, allocations: 217 kB / 1.358 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.9361, allocations: 8 kB / 1.358 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.9362, allocations: 23.98 kB / 1.358 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003522/0.9365, allocations: 169.3 kB / 1.358 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.9369, allocations: 250.4 kB / 1.358 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.9369, allocations: 3.984 kB / 1.358 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.937, allocations: 4 kB / 1.358 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.937, allocations: 4 kB / 1.358 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.9381, allocations: 0.8952 MB / 1.359 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.9384, allocations: 201.1 kB / 1.359 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.9385, allocations: 86.58 kB / 1.359 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.9386, allocations: 4 kB / 1.359 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.9388, allocations: 165.7 kB / 1.36 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.9388, allocations: 0 / 1.36 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0003763/0.9392, allocations: 181.6 kB / 1.36 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.9392, allocations: 111.1 kB / 1.36 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9394, allocations: 177.5 kB / 1.36 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.9394, allocations: 25.7 kB / 1.36 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.9395, allocations: 152.4 kB / 1.36 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.9396, allocations: 63 kB / 1.36 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.9396, allocations: 4 kB / 1.36 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.9397, allocations: 334.7 kB / 1.361 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.9398, allocations: 80.16 kB / 1.361 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.94, allocations: 112.8 kB / 1.361 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.9403, allocations: 85.73 kB / 1.361 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9403, allocations: 0 / 1.361 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005013/0.9408, allocations: 242.7 kB / 1.361 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.9408, allocations: 4 kB / 1.361 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9408, allocations: 4 kB / 1.361 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.9408, allocations: 0 / 1.361 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.9412, allocations: 76.91 kB / 1.361 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9412, allocations: 6.359 kB / 1.361 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.9416, allocations: 87.88 kB / 1.361 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.9416, allocations: 15.98 kB / 1.361 GB, free: 3.383 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 8.516e-05/0.9417, allocations: 114.7 kB / 1.361 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.9418, allocations: 19.81 kB / 1.361 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.9418, allocations: 25.39 kB / 1.361 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9418, allocations: 7.906 kB / 1.361 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9418, allocations: 3.938 kB / 1.361 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9419, allocations: 0 / 1.361 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.9421, allocations: 299.1 kB / 1.362 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9421, allocations: 0 / 1.362 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.9424, allocations: 63.95 kB / 1.362 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9424, allocations: 7.984 kB / 1.362 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.9425, allocations: 0 / 1.362 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9425, allocations: 0 / 1.362 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.9425, allocations: 4 kB / 1.362 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00032/0.9428, allocations: 250.6 kB / 1.362 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004065/0.9432, allocations: 0.6271 MB / 1.363 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.9433, allocations: 88.92 kB / 1.363 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.9433, allocations: 4 kB / 1.363 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.9435, allocations: 39.95 kB / 1.363 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.9437, allocations: 43.8 kB / 1.363 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.9437, allocations: 9 kB / 1.363 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.826e-05/0.9438, allocations: 132 kB / 1.363 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008111/0.9446, allocations: 67.78 kB / 1.363 GB, free: 1.461 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001434/0.9447, allocations: 119.2 kB / 1.363 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.9451, allocations: 214.8 kB / 1.363 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.9451, allocations: 4 kB / 1.363 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.9453, allocations: 107.9 kB / 1.363 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.9455, allocations: 34.69 kB / 1.363 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.9462, allocations: 313.8 kB / 1.364 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.9466, allocations: 0.8058 MB / 1.365 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/0.9466, allocations: 0 / 1.365 GB, free: 15.82 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat