Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002967/0.002967, allocations: 181.2 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.763/0.763, allocations: 130.6 MB / 138.5 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.4 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 97.3 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.165e-06, allocations: 1.75 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5881, allocations: 115.1 MB / 0.74 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5884, allocations: 91.69 kB / 0.7401 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02644/0.6149, allocations: 10.18 MB / 0.75 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.6149, allocations: 3.156 kB / 0.75 GB, free: 10.55 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008347/0.6158, allocations: 0.5193 MB / 0.7505 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6158, allocations: 11.53 kB / 0.7505 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.616, allocations: 38.06 kB / 0.7506 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.6164, allocations: 274 kB / 0.7508 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6164, allocations: 7.719 kB / 0.7508 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.6165, allocations: 7.688 kB / 0.7508 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007442/0.6172, allocations: 0.7393 MB / 0.7516 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.6175, allocations: 208.1 kB / 0.7518 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6175, allocations: 0 / 0.7518 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.6176, allocations: 3.844 kB / 0.7518 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.6176, allocations: 7.844 kB / 0.7518 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.6185, allocations: 0.5612 MB / 0.7523 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.6188, allocations: 277.9 kB / 0.7526 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.619, allocations: 103.7 kB / 0.7527 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.619, allocations: 21.86 kB / 0.7527 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.6192, allocations: 163.8 kB / 0.7529 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.6193, allocations: 0 / 0.7529 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0005158/0.6198, allocations: 270.1 kB / 0.7531 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.6199, allocations: 136.2 kB / 0.7533 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.6201, allocations: 259.9 kB / 0.7535 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.6202, allocations: 29.7 kB / 0.7535 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.6202, allocations: 111.3 kB / 0.7536 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.6203, allocations: 107.7 kB / 0.7537 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.6203, allocations: 3.938 kB / 0.7537 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6205, allocations: 337.2 kB / 0.7541 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.6206, allocations: 73.3 kB / 0.7541 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.6207, allocations: 116.7 kB / 0.7542 GB, free: 24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.6209, allocations: 107.3 kB / 0.7544 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6209, allocations: 0 / 0.7544 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003547/0.6212, allocations: 267.3 kB / 0.7546 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6213, allocations: 3.938 kB / 0.7546 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6213, allocations: 0 / 0.7546 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6213, allocations: 7.828 kB / 0.7546 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.6215, allocations: 60.84 kB / 0.7547 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6215, allocations: 3.875 kB / 0.7547 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.6217, allocations: 23.59 kB / 0.7547 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.6217, allocations: 22.95 kB / 0.7547 GB, free: 23.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001001/0.6218, allocations: 104.9 kB / 0.7548 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.6219, allocations: 30.91 kB / 0.7549 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.6225, allocations: 382.7 kB / 0.7552 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6225, allocations: 3.812 kB / 0.7552 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6225, allocations: 3.906 kB / 0.7552 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.6225, allocations: 4 kB / 0.7552 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.6228, allocations: 309.2 kB / 0.7555 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6228, allocations: 0 / 0.7555 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.623, allocations: 62.47 kB / 0.7556 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.623, allocations: 5.281 kB / 0.7556 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.623, allocations: 3.688 kB / 0.7556 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.623, allocations: 2.656 kB / 0.7556 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.623, allocations: 0 / 0.7556 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003835/0.6234, allocations: 307.6 kB / 0.7559 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.6236, allocations: 154.3 kB / 0.756 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.6236, allocations: 7.812 kB / 0.756 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.6238, allocations: 19.48 kB / 0.7561 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.6239, allocations: 30.41 kB / 0.7561 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.6239, allocations: 15.02 kB / 0.7561 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001758/0.6241, allocations: 218.7 kB / 0.7563 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003147/0.6244, allocations: 69.88 kB / 0.7564 GB, free: 22.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006682/0.6251, allocations: 302.9 kB / 0.7567 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.6254, allocations: 218.8 kB / 0.7569 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6254, allocations: 0 / 0.7569 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6256, allocations: 128.3 kB / 0.757 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.6258, allocations: 30.64 kB / 0.757 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.6265, allocations: 411.5 kB / 0.7574 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.627, allocations: 0.825 MB / 0.7582 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.627, allocations: 1.312 kB / 0.7582 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.008412/0.6354, allocations: 3.871 MB / 0.762 GB, free: 19.93 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)