Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.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_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",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.793/1.793, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009655/0.0009656, allocations: 181.3 kB / 487 MB, free: 5.371 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.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.0008486/0.0008486, allocations: 95.3 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.454/0.4549, allocations: 148.6 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.6575, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/1.192, allocations: 151.8 MB / 1.354 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.193, allocations: 78.95 kB / 1.354 GB, free: 15.94 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.04337/1.236, allocations: 19.51 MB / 1.373 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.236, allocations: 13 kB / 1.373 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/1.236, allocations: 158 kB / 1.373 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/1.238, allocations: 0.8042 MB / 1.374 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/1.238, allocations: 47.94 kB / 1.374 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.238, allocations: 79.91 kB / 1.374 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/1.239, allocations: 0.7718 MB / 1.375 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/1.24, allocations: 0.9848 MB / 1.376 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/1.24, allocations: 7.922 kB / 1.376 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/1.24, allocations: 0 / 1.376 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/1.241, allocations: 39.94 kB / 1.376 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/1.244, allocations: 3.475 MB / 1.379 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.246, allocations: 0.7002 MB / 1.38 GB, free: 20 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/1.246, allocations: 344.6 kB / 1.38 GB, free: 15.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.728e-05/1.246, allocations: 19.25 kB / 1.38 GB, free: 15.79 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/1.247, allocations: 417.9 kB / 1.38 GB, free: 15.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=81): time 3.096e-06/1.247, allocations: 0 / 1.38 GB, free: 15.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.0008876/1.248, allocations: 0.5908 MB / 1.381 GB, free: 15.04 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.248, allocations: 342.1 kB / 1.381 GB, free: 14.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/1.248, allocations: 0.5802 MB / 1.382 GB, free: 14.19 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.248, allocations: 29.7 kB / 1.382 GB, free: 14.16 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/1.249, allocations: 445.9 kB / 1.382 GB, free: 13.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.249, allocations: 255.5 kB / 1.383 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/1.249, allocations: 0 / 1.383 GB, free: 13.55 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.249, allocations: 343.4 kB / 1.383 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/1.249, allocations: 212.1 kB / 1.383 GB, free: 13.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/1.25, allocations: 387.2 kB / 1.384 GB, free: 12.79 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/1.25, allocations: 256.7 kB / 1.384 GB, free: 12.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.25, allocations: 0 / 1.384 GB, free: 12.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009311/1.251, allocations: 0.6599 MB / 1.384 GB, free: 12.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002523/1.251, allocations: 0.7936 MB / 1.385 GB, free: 11.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.251, allocations: 3.984 kB / 1.385 GB, free: 11.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.251, allocations: 11.98 kB / 1.385 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/1.252, allocations: 186.8 kB / 1.385 GB, free: 11.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.252, allocations: 8 kB / 1.385 GB, free: 11.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/1.253, allocations: 135.3 kB / 1.386 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/1.253, allocations: 34.48 kB / 1.386 GB, free: 10.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-06/1.253, allocations: 4 kB / 1.386 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007792/1.254, allocations: 0.5131 MB / 1.386 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/1.254, allocations: 7.938 kB / 1.386 GB, free: 10.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/1.254, allocations: 4 kB / 1.386 GB, free: 10.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/1.254, allocations: 162.8 kB / 1.386 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/1.254, allocations: 4 kB / 1.386 GB, free: 10.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/1.255, allocations: 119.4 kB / 1.386 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/1.255, allocations: 22.62 kB / 1.386 GB, free: 10.31 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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 0.0001504/1.255, allocations: 135.6 kB / 1.386 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/1.255, allocations: 82.97 kB / 1.387 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.256, allocations: 0.6622 MB / 1.387 GB, free: 9.629 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.256, allocations: 12 kB / 1.387 GB, free: 9.617 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.256, allocations: 4 kB / 1.387 GB, free: 9.613 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.256, allocations: 7.922 kB / 1.387 GB, free: 9.605 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/1.259, allocations: 2.201 MB / 1.389 GB, free: 7.922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.259, allocations: 8 kB / 1.389 GB, free: 7.914 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/1.26, allocations: 191.4 kB / 1.39 GB, free: 7.734 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.26, allocations: 12 kB / 1.39 GB, free: 7.723 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/1.26, allocations: 23.2 kB / 1.39 GB, free: 7.703 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.26, allocations: 11.94 kB / 1.39 GB, free: 7.691 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.26, allocations: 8 kB / 1.39 GB, free: 7.684 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001954/1.262, allocations: 1.709 MB / 1.391 GB, free: 6.125 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002784/1.264, allocations: 2.433 MB / 1.394 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/1.265, allocations: 185.2 kB / 1.394 GB, free: 3.824 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.265, allocations: 11.91 kB / 1.394 GB, free: 3.812 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/1.265, allocations: 95.92 kB / 1.394 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.266, allocations: 73.19 kB / 1.394 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/1.266, allocations: 33.88 kB / 1.394 GB, free: 3.633 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005052/1.266, allocations: 424.6 kB / 1.394 GB, free: 3.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002373/1.269, allocations: 401.6 kB / 1.395 GB, free: 2.945 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 87 * 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.0002095/1.269, allocations: 134.7 kB / 1.395 GB, free: 2.805 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001321/1.27, allocations: 0.9225 MB / 1.396 GB, free: 2.199 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.27, allocations: 192 / 1.396 GB, free: 2.199 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/1.271, allocations: 350.8 kB / 1.396 GB, free: 1.969 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.272, allocations: 320.8 kB / 1.396 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/1.275, allocations: 1.534 MB / 1.398 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009536/1.276, allocations: 1.217 MB / 1.399 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.276, allocations: 0 / 1.399 GB, free: 14.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)