Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [: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.001549/0.001549, allocations: 181.2 kB / 7.8 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4847/0.4847, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.4 MB / 342.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 90 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.753e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.443, allocations: 72.29 MB / 0.5529 GB, free: 73.51 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.897/3.34, allocations: 1.684 GB / 2.237 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/3.34, allocations: 88.83 kB / 2.237 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1633/3.504, allocations: 80.98 MB / 2.316 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.64e-05/3.504, allocations: 35.92 kB / 2.316 GB, free: 48.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001998/3.506, allocations: 1.305 MB / 2.318 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/3.506, allocations: 8.031 kB / 2.318 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009963/3.507, allocations: 230.2 kB / 2.318 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/3.508, allocations: 0.7132 MB / 2.319 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/3.508, allocations: 40 kB / 2.319 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/3.508, allocations: 64 kB / 2.319 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/3.509, allocations: 1.125 MB / 2.32 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/3.511, allocations: 0.9303 MB / 2.321 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/3.511, allocations: 3.938 kB / 2.321 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/3.511, allocations: 3.984 kB / 2.321 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/3.511, allocations: 28 kB / 2.321 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/3.515, allocations: 2.859 MB / 2.323 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/3.515, allocations: 0.6804 MB / 2.324 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/3.516, allocations: 258.8 kB / 2.324 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/3.516, allocations: 28.69 kB / 2.324 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/3.516, allocations: 402 kB / 2.325 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/3.516, allocations: 0 / 2.325 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.001414/3.518, allocations: 0.6832 MB / 2.325 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/3.518, allocations: 240 kB / 2.326 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/3.518, allocations: 0.5543 MB / 2.326 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/3.518, allocations: 29.7 kB / 2.326 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/3.519, allocations: 415.4 kB / 2.327 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/3.519, allocations: 248.2 kB / 2.327 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/3.519, allocations: 0 / 2.327 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/3.519, allocations: 386.8 kB / 2.327 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/3.519, allocations: 209.5 kB / 2.327 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/3.52, allocations: 311.5 kB / 2.328 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/3.52, allocations: 264.4 kB / 2.328 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/3.52, allocations: 0 / 2.328 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001346/3.521, allocations: 0.6939 MB / 2.329 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/3.521, allocations: 8 kB / 2.329 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/3.521, allocations: 3.984 kB / 2.329 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/3.522, allocations: 84.78 kB / 2.329 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/3.523, allocations: 147.8 kB / 2.329 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.524, allocations: 1.46 MB / 2.33 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/3.525, allocations: 67.62 kB / 2.33 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/3.525, allocations: 31.92 kB / 2.33 GB, free: 33.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001296/3.525, allocations: 124.8 kB / 2.331 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/3.525, allocations: 82.97 kB / 2.331 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/3.527, allocations: 0.9451 MB / 2.332 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/3.527, allocations: 8 kB / 2.332 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/3.527, allocations: 7.938 kB / 2.332 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/3.527, allocations: 3.984 kB / 2.332 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000744/3.528, allocations: 0.8498 MB / 2.332 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/3.528, allocations: 0 / 2.332 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/3.528, allocations: 147.8 kB / 2.333 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/3.529, allocations: 80.78 kB / 2.333 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/3.529, allocations: 15.98 kB / 2.333 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/3.53, allocations: 1.488 MB / 2.334 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/3.53, allocations: 4.125 kB / 2.334 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001278/3.531, allocations: 0.7878 MB / 2.335 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/3.532, allocations: 287.7 kB / 2.335 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/3.532, allocations: 0 / 2.335 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/3.532, allocations: 55.95 kB / 2.335 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/3.532, allocations: 56.69 kB / 2.335 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/3.533, allocations: 27.98 kB / 2.335 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003908/3.533, allocations: 455.1 kB / 2.336 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000886/3.534, allocations: 386.5 kB / 2.336 GB, free: 27.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/3.535, allocations: 1.039 MB / 2.337 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009836/3.536, allocations: 0.6863 MB / 2.338 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/3.536, allocations: 4 kB / 2.338 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/3.537, allocations: 460.6 kB / 2.338 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/3.538, allocations: 225.8 kB / 2.338 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/3.541, allocations: 1.556 MB / 2.34 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/3.542, allocations: 1.205 MB / 2.341 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/3.542, allocations: 0 / 2.341 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.02307/3.565, allocations: 17.33 MB / 2.358 GB, free: 5.172 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)