Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.001125/0.001125, allocations: 181.2 kB / 316 MB, free: 3.555 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.135/1.135, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0008269/0.0008267, allocations: 74.28 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3228/0.3236, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.4781, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.914, allocations: 132.1 MB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.9142, allocations: 70.89 kB / 1.014 GB, free: 6.309 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.009767/0.924, allocations: 3.937 MB / 1.018 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9241, allocations: 8 kB / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.9241, allocations: 7.906 kB / 1.018 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.9243, allocations: 186.2 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.9243, allocations: 8 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.9244, allocations: 4 kB / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.967e-05/0.9244, allocations: 34.92 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.9246, allocations: 84.33 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.9246, allocations: 3.906 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.9246, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.9246, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.925, allocations: 314.4 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.9252, allocations: 113.5 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.9253, allocations: 54.81 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.9253, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.9254, allocations: 89.31 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.9254, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002258/0.9257, allocations: 113.6 kB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.9257, allocations: 51.41 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.9259, allocations: 116.8 kB / 1.019 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.9259, allocations: 25.7 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.9259, allocations: 91.34 kB / 1.019 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.926, allocations: 27.41 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.926, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9261, allocations: 318.2 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.9262, allocations: 30.55 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.9262, allocations: 56.92 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/0.9263, allocations: 38.2 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9263, allocations: 7.938 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001635/0.9265, allocations: 118.2 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9265, allocations: 8 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.9265, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9265, allocations: 7.906 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.9266, allocations: 7.984 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.9266, allocations: 4 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.9267, allocations: 96 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.9267, allocations: 30.97 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.927e-05/0.9268, allocations: 109 kB / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.9268, allocations: 7.906 kB / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.9269, allocations: 12.11 kB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9269, allocations: 4 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.9269, allocations: 3.906 kB / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9269, allocations: 0 / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.9272, allocations: 378 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9272, allocations: 0 / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.9272, allocations: 0 / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9272, allocations: 4 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.9273, allocations: 3.906 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.9273, allocations: 0 / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9273, allocations: 0 / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/0.9274, allocations: 211.8 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002703/0.9277, allocations: 0.5727 MB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.9278, allocations: 85.02 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.9278, allocations: 48 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.9279, allocations: 11.97 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.9279, allocations: 11.89 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.928, allocations: 23.88 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.96e-05/0.928, allocations: 99.42 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007748/0.9288, allocations: 12 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0001133/0.9289, allocations: 107.1 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.9291, allocations: 85.66 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.9291, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/0.9291, allocations: 47.05 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.9295, allocations: 64.48 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.9299, allocations: 141 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.9302, allocations: 0.7149 MB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9302, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)