Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 4.2/4.2, allocations: 433 MB / 440.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5148/4.715, allocations: 104.4 MB / 0.5319 GB, free: 16.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/4.947, allocations: 98.71 MB / 0.6283 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/5.192, allocations: 123.9 MB / 0.7493 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/5.192, allocations: 67.97 kB / 0.7493 GB, free: 4.582 MB / 0.6231 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.01774/5.21, allocations: 3.937 MB / 0.7532 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/5.21, allocations: 8 kB / 0.7532 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/5.21, allocations: 7.906 kB / 0.7532 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/5.211, allocations: 186.9 kB / 0.7534 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/5.211, allocations: 0 / 0.7534 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/5.211, allocations: 4 kB / 0.7534 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001547/5.211, allocations: 39.98 kB / 0.7534 GB, free: 312 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/5.211, allocations: 85.52 kB / 0.7535 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/5.211, allocations: 3.984 kB / 0.7535 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/5.211, allocations: 7.922 kB / 0.7535 GB, free: 208 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/5.211, allocations: 0 / 0.7535 GB, free: 208 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/5.212, allocations: 305.3 kB / 0.7538 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/5.212, allocations: 110.5 kB / 0.7539 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/5.212, allocations: 64.86 kB / 0.754 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/5.212, allocations: 0 / 0.754 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/5.213, allocations: 87.33 kB / 0.7541 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/5.213, allocations: 0 / 0.7541 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.000312/5.213, allocations: 105.6 kB / 0.7542 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/5.213, allocations: 63.39 kB / 0.7542 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/5.213, allocations: 112.9 kB / 0.7543 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/5.213, allocations: 33.64 kB / 0.7544 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/5.213, allocations: 80.14 kB / 0.7544 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/5.213, allocations: 16.05 kB / 0.7544 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/5.213, allocations: 0 / 0.7544 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001534/5.213, allocations: 322.8 kB / 0.7548 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/5.213, allocations: 35.98 kB / 0.7548 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/5.214, allocations: 54.28 kB / 0.7548 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/5.214, allocations: 39.95 kB / 0.7549 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/5.214, allocations: 4 kB / 0.7549 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004143/5.214, allocations: 117.5 kB / 0.755 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/5.214, allocations: 4 kB / 0.755 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/5.214, allocations: 12.05 kB / 0.755 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/5.214, allocations: 3.938 kB / 0.755 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/5.214, allocations: 7.938 kB / 0.755 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/5.215, allocations: 4 kB / 0.755 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/5.215, allocations: 3.984 kB / 0.755 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/5.215, allocations: 19.97 kB / 0.7551 GB, free: 14.51 MB / 0.6387 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 0.00015/5.215, allocations: 112.5 kB / 0.7552 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/5.215, allocations: 7.906 kB / 0.7552 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/5.215, allocations: 12.47 kB / 0.7552 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/5.215, allocations: 3.938 kB / 0.7552 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/5.215, allocations: 3.906 kB / 0.7552 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/5.215, allocations: 7.984 kB / 0.7552 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/5.216, allocations: 363.1 kB / 0.7555 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/5.216, allocations: 4 kB / 0.7555 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/5.216, allocations: 3.938 kB / 0.7555 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/5.216, allocations: 11.89 kB / 0.7556 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/5.216, allocations: 4 kB / 0.7556 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/5.216, allocations: 0 / 0.7556 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/5.216, allocations: 0 / 0.7556 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002813/5.216, allocations: 199.4 kB / 0.7558 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000456/5.217, allocations: 0.5867 MB / 0.7563 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/5.217, allocations: 85.02 kB / 0.7564 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/5.217, allocations: 0 / 0.7564 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/5.217, allocations: 0 / 0.7564 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/5.217, allocations: 11.94 kB / 0.7564 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/5.217, allocations: 31.88 kB / 0.7564 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.257e-05/5.217, allocations: 95.94 kB / 0.7565 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001147/5.218, allocations: 16 kB / 0.7566 GB, free: 12.87 MB / 0.6387 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.0002251/5.219, allocations: 110.8 kB / 0.7567 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002984/5.219, allocations: 88.17 kB / 0.7567 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/5.219, allocations: 11.88 kB / 0.7568 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/5.219, allocations: 39.98 kB / 0.7568 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/5.22, allocations: 55.88 kB / 0.7568 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/5.22, allocations: 147.5 kB / 0.757 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/5.221, allocations: 0.7156 MB / 0.7577 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of SimCode: time 1.123e-06/5.221, allocations: 0 / 0.7577 GB, free: 11.66 MB / 0.6387 GB