Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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 7.0.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 193.2 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008506/0.0008507, allocations: 97.56 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3398/0.3407, allocations: 112.5 MB / 0.7809 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.5015, allocations: 106.3 MB / 0.8847 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.958, allocations: 134.1 MB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.9582, allocations: 81.12 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.04722/1.005, allocations: 19.87 MB / 1.035 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.006, allocations: 11.94 kB / 1.035 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/1.006, allocations: 185.8 kB / 1.035 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/1.007, allocations: 0.805 MB / 1.036 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/1.007, allocations: 48 kB / 1.036 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/1.007, allocations: 88 kB / 1.036 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001973/1.009, allocations: 1.141 MB / 1.037 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/1.011, allocations: 1.085 MB / 1.038 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/1.011, allocations: 0 / 1.038 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/1.011, allocations: 8 kB / 1.038 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/1.011, allocations: 36 kB / 1.038 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006879/1.018, allocations: 3.957 MB / 1.042 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/1.02, allocations: 0.9558 MB / 1.043 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/1.021, allocations: 412.8 kB / 1.044 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.523e-05/1.021, allocations: 20.97 kB / 1.044 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.021, allocations: 54.09 kB / 1.044 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=119): time 2.565e-06/1.021, allocations: 0 / 1.044 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=119): time 0.001478/1.022, allocations: 0.919 MB / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/1.022, allocations: 64.41 kB / 1.045 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/1.023, allocations: 0.5456 MB / 1.045 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/1.023, allocations: 29.7 kB / 1.045 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/1.023, allocations: 494.6 kB / 1.046 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/1.024, allocations: 388.3 kB / 1.046 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/1.024, allocations: 0 / 1.046 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.024, allocations: 345.6 kB / 1.046 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/1.024, allocations: 351.9 kB / 1.047 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/1.025, allocations: 458.5 kB / 1.047 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/1.026, allocations: 406 kB / 1.048 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.026, allocations: 0 / 1.048 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001489/1.027, allocations: 0.9918 MB / 1.049 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/1.027, allocations: 98.16 kB / 1.049 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.027, allocations: 0 / 1.049 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.027, allocations: 4 kB / 1.049 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.029, allocations: 277.8 kB / 1.049 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.029, allocations: 4 kB / 1.049 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/1.029, allocations: 179.1 kB / 1.049 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/1.029, allocations: 34.67 kB / 1.049 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/1.029, allocations: 7.906 kB / 1.049 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/1.031, allocations: 0.8357 MB / 1.05 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.031, allocations: 0 / 1.05 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/1.031, allocations: 4 kB / 1.05 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/1.032, allocations: 226.4 kB / 1.05 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.032, allocations: 7.938 kB / 1.05 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/1.032, allocations: 115.2 kB / 1.05 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/1.033, allocations: 27.56 kB / 1.05 GB, free: 7.996 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 128 * 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.0001711/1.033, allocations: 120.8 kB / 1.05 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.033, allocations: 106.7 kB / 1.051 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/1.035, allocations: 1.15 MB / 1.052 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.035, allocations: 16 kB / 1.052 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.035, allocations: 4.062 kB / 1.052 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.035, allocations: 11.88 kB / 1.052 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006219/1.041, allocations: 4.401 MB / 1.056 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.041, allocations: 16 kB / 1.056 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.042, allocations: 274.9 kB / 1.056 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/1.042, allocations: 20 kB / 1.056 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/1.042, allocations: 27.31 kB / 1.056 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/1.042, allocations: 31.86 kB / 1.056 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.042, allocations: 19.94 kB / 1.056 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002222/1.045, allocations: 2.271 MB / 1.059 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002256/1.047, allocations: 2.659 MB / 1.061 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/1.047, allocations: 217.1 kB / 1.061 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.047, allocations: 19.98 kB / 1.061 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/1.048, allocations: 155.9 kB / 1.062 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.048, allocations: 112.6 kB / 1.062 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/1.048, allocations: 59.73 kB / 1.062 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004604/1.049, allocations: 426.5 kB / 1.062 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002465/1.051, allocations: 0.493 MB / 1.063 GB, free: 12.95 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 137 * 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.0002406/1.052, allocations: 146.4 kB / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002282/1.054, allocations: 1.423 MB / 1.064 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.054, allocations: 8.125 kB / 1.064 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008947/1.055, allocations: 0.5628 MB / 1.065 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/1.056, allocations: 124 kB / 1.065 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/1.06, allocations: 2.076 MB / 1.067 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.061, allocations: 1.33 MB / 1.068 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of SimCode: time 2.645e-06/1.061, allocations: 0 / 1.068 GB, free: 8.039 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1)