Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.0009311/0.0009311, allocations: 177.3 kB / 361.1 MB, free: 7.109 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.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007466/0.0007466, allocations: 94.66 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.1766, allocations: 121.5 MB / 0.8512 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.5848, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.715, allocations: 137 MB / 1.098 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.7152, allocations: 68.66 kB / 1.098 GB, free: 2.949 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.008918/0.7241, allocations: 3.922 MB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7242, allocations: 12 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.7242, allocations: 6.062 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.7244, allocations: 182.9 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7244, allocations: 4 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.7244, allocations: 7.984 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.279e-05/0.7245, allocations: 38.59 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.7246, allocations: 76.53 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.7246, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.7247, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.7247, allocations: 1.688 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.725, allocations: 310.6 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.7252, allocations: 112.6 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.7253, allocations: 62.95 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.7253, allocations: 3.938 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.242e-05/0.7254, allocations: 83.39 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.7254, allocations: 1.188 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001836/0.7256, allocations: 111.7 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.7256, allocations: 54.22 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.7257, allocations: 120.9 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.7257, allocations: 25.7 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.7258, allocations: 91.86 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.7258, allocations: 23.98 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.7258, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.7259, allocations: 323.4 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.7259, allocations: 28.55 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.726, allocations: 61.39 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.7261, allocations: 40.41 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7261, allocations: 0.5 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000167/0.7262, allocations: 123.1 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.7263, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7263, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.7263, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.7264, allocations: 12.47 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.7264, allocations: 0.5938 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.7264, allocations: 8.578 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.7265, allocations: 20.53 kB / 1.103 GB, free: 13 MB / 0.7136 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.989e-05/0.7266, allocations: 107 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.7266, allocations: 12.91 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.7266, allocations: 9.062 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7266, allocations: 4.594 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7266, allocations: 0 / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.7266, allocations: 1.969 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.727, allocations: 376.3 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.727, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.727, allocations: 9.344 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.727, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.727, allocations: 3.984 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.727, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.727, allocations: 6.312 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001519/0.7272, allocations: 211 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002426/0.7274, allocations: 0.5808 MB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.7275, allocations: 81.02 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.7275, allocations: 0.625 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.7276, allocations: 4.531 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.7276, allocations: 16.02 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.7276, allocations: 19.97 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.29e-05/0.7277, allocations: 92.25 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007484/0.7285, allocations: 12 kB / 1.105 GB, free: 11.39 MB / 0.7136 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.0001135/0.7286, allocations: 115.7 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.7287, allocations: 87.91 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7287, allocations: 4.062 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.7288, allocations: 44.67 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.7292, allocations: 62.73 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.7295, allocations: 145.1 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.7297, allocations: 0.7114 MB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7297, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)