Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",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 8.0.0/package.mo): time 2.162/2.162, allocations: 284.8 MB / 292.1 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 181.2 kB / 360.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 0.6187 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 92.83 kB / 0.7317 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2365/0.2376, allocations: 121.4 MB / 0.8503 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.7876, allocations: 115.2 MB / 0.9628 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.9979, allocations: 138.7 MB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.9982, allocations: 75.94 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.04746/1.046, allocations: 11.97 MB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.046, allocations: 12.72 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/1.046, allocations: 80.38 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/1.047, allocations: 460.5 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/1.047, allocations: 102.4 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.047, allocations: 36 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/1.049, allocations: 358.6 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.05, allocations: 476.4 kB / 1.111 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.05, allocations: 3.938 kB / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/1.05, allocations: 7.984 kB / 1.111 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/1.05, allocations: 12 kB / 1.111 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/1.055, allocations: 1.8 MB / 1.113 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/1.056, allocations: 387.5 kB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/1.057, allocations: 163.7 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/1.057, allocations: 19.98 kB / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/1.057, allocations: 195.3 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/1.057, allocations: 0 / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.001095/1.059, allocations: 345.2 kB / 1.114 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/1.059, allocations: 140.5 kB / 1.114 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/1.059, allocations: 345.2 kB / 1.115 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/1.059, allocations: 25.7 kB / 1.115 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/1.06, allocations: 252.4 kB / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/1.06, allocations: 130 kB / 1.115 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.06, allocations: 0 / 1.115 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.06, allocations: 366.7 kB / 1.116 GB, free: 288 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/1.061, allocations: 128.9 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/1.061, allocations: 216.6 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/1.062, allocations: 143.2 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.062, allocations: 0 / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001235/1.063, allocations: 403.5 kB / 1.116 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.063, allocations: 370.5 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.063, allocations: 6.562 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.063, allocations: 0 / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/1.064, allocations: 107.9 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.064, allocations: 4 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/1.065, allocations: 87.62 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/1.065, allocations: 16 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/1.065, allocations: 4 kB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008771/1.066, allocations: 294.5 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.066, allocations: 0 / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.066, allocations: 4 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/1.066, allocations: 91.83 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.066, allocations: 10.09 kB / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/1.067, allocations: 55.75 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/1.067, allocations: 12 kB / 1.117 GB, free: 14.31 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.0001906/1.067, allocations: 121.4 kB / 1.117 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.067, allocations: 47.44 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/1.068, allocations: 56.69 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.589e-06/1.068, allocations: 4 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.068, allocations: 0 / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.068, allocations: 7.891 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/1.069, allocations: 0.525 MB / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.069, allocations: 0 / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/1.07, allocations: 101.2 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.07, allocations: 0 / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/1.07, allocations: 8 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.07, allocations: 1.781 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.07, allocations: 0 / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001609/1.071, allocations: 0.5677 MB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002161/1.073, allocations: 1.126 MB / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/1.074, allocations: 136.3 kB / 1.12 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.074, allocations: 4 kB / 1.12 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/1.074, allocations: 51.95 kB / 1.12 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.075, allocations: 29.52 kB / 1.12 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/1.075, allocations: 12 kB / 1.12 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005443/1.075, allocations: 263.2 kB / 1.12 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002545/1.078, allocations: 195 kB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002162/1.078, allocations: 115.2 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001539/1.079, allocations: 0.5152 MB / 1.121 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.08, allocations: 3.938 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004671/1.08, allocations: 167.8 kB / 1.121 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/1.081, allocations: 101.8 kB / 1.121 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/1.084, allocations: 0.6992 MB / 1.122 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009917/1.085, allocations: 0.9403 MB / 1.123 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of SimCode: time 1.183e-06/1.085, allocations: 0 / 1.123 GB, free: 8.375 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)