Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.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.VentilationZones.Title24.Validation.Setpoints,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints",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.852/1.852, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009318/0.0009317, allocations: 173.3 kB / 487 MB, free: 5.398 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.438 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.0008255/0.0008255, allocations: 96.62 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.421/0.4218, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.619, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/1.156, allocations: 151.8 MB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/1.156, allocations: 76.64 kB / 1.354 GB, free: 15.83 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.04954/1.206, allocations: 23.31 MB / 1.376 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/1.206, allocations: 11.94 kB / 1.376 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/1.206, allocations: 189.8 kB / 1.377 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/1.207, allocations: 0.7592 MB / 1.377 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/1.207, allocations: 67.8 kB / 1.377 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/1.207, allocations: 104 kB / 1.378 GB, free: 1.496 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001535/1.209, allocations: 0.9413 MB / 1.378 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.211, allocations: 1.259 MB / 1.38 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/1.211, allocations: 3.906 kB / 1.38 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.211, allocations: 4 kB / 1.38 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/1.211, allocations: 40 kB / 1.38 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/1.217, allocations: 5.127 MB / 1.385 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.218, allocations: 0.5264 MB / 1.385 GB, free: 11.31 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/1.218, allocations: 210 kB / 1.385 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/1.218, allocations: 15.55 kB / 1.385 GB, free: 11.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/1.219, allocations: 389.7 kB / 1.386 GB, free: 10.83 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 3.626e-06/1.219, allocations: 7.984 kB / 1.386 GB, free: 10.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.0008487/1.22, allocations: 0.5012 MB / 1.386 GB, free: 10.44 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.22, allocations: 404.2 kB / 1.387 GB, free: 9.953 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/1.221, allocations: 0.6544 MB / 1.387 GB, free: 9.477 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/1.221, allocations: 29.7 kB / 1.387 GB, free: 9.441 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/1.221, allocations: 0.6251 MB / 1.388 GB, free: 8.895 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.221, allocations: 212.4 kB / 1.388 GB, free: 8.715 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/1.221, allocations: 8.094 kB / 1.388 GB, free: 8.707 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.221, allocations: 343.8 kB / 1.389 GB, free: 8.379 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/1.222, allocations: 279 kB / 1.389 GB, free: 8.227 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/1.222, allocations: 408.5 kB / 1.389 GB, free: 7.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/1.223, allocations: 320.7 kB / 1.389 GB, free: 7.707 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.223, allocations: 0 / 1.389 GB, free: 7.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001456/1.225, allocations: 0.8398 MB / 1.39 GB, free: 7.078 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.225, allocations: 4 kB / 1.39 GB, free: 7.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.225, allocations: 4 kB / 1.39 GB, free: 7.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.225, allocations: 8 kB / 1.39 GB, free: 7.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/1.225, allocations: 191 kB / 1.39 GB, free: 6.883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/1.226, allocations: 8.047 kB / 1.391 GB, free: 6.875 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/1.226, allocations: 189.8 kB / 1.391 GB, free: 6.691 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/1.227, allocations: 42.42 kB / 1.391 GB, free: 6.656 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,winSenZon.havCO2Sen.y,$PRE.winSta.y,winSta.y,occSenZon.havCO2Sen.y,$PRE.occSta.y,occSta.y,co2SenSZVAV.havCO2Sen.y,co2SenZon.havCO2Sen.y,co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,noSenZon.havCO2Sen.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001878/1.227, allocations: 132 kB / 1.391 GB, free: 6.523 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.227, allocations: 90.88 kB / 1.391 GB, free: 6.434 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/1.228, allocations: 445.6 kB / 1.391 GB, free: 6.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.228, allocations: 12 kB / 1.391 GB, free: 6.102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.228, allocations: 7.906 kB / 1.391 GB, free: 6.094 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.228, allocations: 7.984 kB / 1.391 GB, free: 6.086 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/1.23, allocations: 2.069 MB / 1.393 GB, free: 4.418 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.23, allocations: 8 kB / 1.393 GB, free: 4.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/1.231, allocations: 153 kB / 1.394 GB, free: 4.266 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/1.231, allocations: 8 kB / 1.394 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/1.231, allocations: 12.67 kB / 1.394 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.231, allocations: 8 kB / 1.394 GB, free: 4.238 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.231, allocations: 7.938 kB / 1.394 GB, free: 4.23 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/1.232, allocations: 0.9837 MB / 1.395 GB, free: 3.234 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001036/1.233, allocations: 1.377 MB / 1.396 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/1.233, allocations: 181.6 kB / 1.396 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.233, allocations: 15.91 kB / 1.396 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/1.234, allocations: 59.95 kB / 1.396 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.234, allocations: 73.78 kB / 1.396 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/1.234, allocations: 31 kB / 1.396 GB, free: 1.492 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004652/1.234, allocations: 466.6 kB / 1.397 GB, free: 1.172 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001358/1.236, allocations: 278 kB / 1.397 GB, free: 0.9023 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 (co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,$whenCondition1,$whenCondition2,occSta.y,$whenCondition3,$whenCondition4,winSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001979/1.236, allocations: 124 kB / 1.397 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001029/1.237, allocations: 0.6878 MB / 1.398 GB, free: 292 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.237, allocations: 0 / 1.398 GB, free: 292 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/1.237, allocations: 337 kB / 1.398 GB, free: 60 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/1.238, allocations: 70.16 kB / 1.398 GB, free: 20 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/1.241, allocations: 1.509 MB / 1.4 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/1.242, allocations: 1.273 MB / 1.401 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.242, allocations: 4 kB / 1.401 GB, free: 13.26 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat