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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 185.1 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4652/0.4652, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.384/1.384, allocations: 221.4 MB / 342.7 MB, free: 5.512 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.001045/0.001045, allocations: 98.59 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1875/0.1886, allocations: 78.44 MB / 493.9 MB, free: 8.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.6381, allocations: 72.31 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.727/4.365, allocations: 1.684 GB / 2.237 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/4.365, allocations: 88.8 kB / 2.237 GB, free: 142.6 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.1659/4.531, allocations: 82.33 MB / 2.318 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/4.531, allocations: 8 kB / 2.318 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009321/4.532, allocations: 234.2 kB / 2.318 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/4.533, allocations: 0.721 MB / 2.319 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/4.533, allocations: 36 kB / 2.319 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/4.533, allocations: 64 kB / 2.319 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/4.535, allocations: 1.125 MB / 2.32 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/4.536, allocations: 0.9341 MB / 2.321 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/4.536, allocations: 0 / 2.321 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/4.536, allocations: 4 kB / 2.321 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/4.536, allocations: 28 kB / 2.321 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/4.54, allocations: 2.863 MB / 2.324 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/4.541, allocations: 0.6765 MB / 2.324 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/4.541, allocations: 254.8 kB / 2.324 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.408e-05/4.541, allocations: 32.67 kB / 2.325 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/4.542, allocations: 402 kB / 2.325 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/4.542, allocations: 4 kB / 2.325 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.001475/4.543, allocations: 0.6716 MB / 2.326 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/4.543, allocations: 243.9 kB / 2.326 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/4.544, allocations: 0.5621 MB / 2.326 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/4.544, allocations: 25.7 kB / 2.326 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/4.544, allocations: 415.4 kB / 2.327 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/4.544, allocations: 248.2 kB / 2.327 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/4.544, allocations: 0 / 2.327 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/4.544, allocations: 382.8 kB / 2.327 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/4.545, allocations: 209.5 kB / 2.328 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/4.545, allocations: 315.5 kB / 2.328 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/4.545, allocations: 260.5 kB / 2.328 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/4.545, allocations: 0 / 2.328 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001381/4.547, allocations: 0.7055 MB / 2.329 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/4.547, allocations: 8 kB / 2.329 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/4.547, allocations: 4 kB / 2.329 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/4.547, allocations: 80.84 kB / 2.329 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/4.548, allocations: 151.8 kB / 2.329 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/4.55, allocations: 1.457 MB / 2.33 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/4.55, allocations: 71.5 kB / 2.331 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/4.55, allocations: 30.72 kB / 2.331 GB, free: 46.5 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.0001389/4.55, allocations: 120.9 kB / 2.331 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/4.551, allocations: 78.97 kB / 2.331 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/4.552, allocations: 0.9541 MB / 2.332 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/4.552, allocations: 8 kB / 2.332 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/4.552, allocations: 0 / 2.332 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/4.552, allocations: 7.984 kB / 2.332 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/4.553, allocations: 0.8459 MB / 2.333 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/4.553, allocations: 0 / 2.333 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/4.554, allocations: 147.8 kB / 2.333 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/4.554, allocations: 88.77 kB / 2.333 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/4.554, allocations: 11.98 kB / 2.333 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/4.556, allocations: 1.484 MB / 2.334 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/4.556, allocations: 0 / 2.334 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001318/4.557, allocations: 0.784 MB / 2.335 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00146/4.559, allocations: 1.198 MB / 2.336 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/4.559, allocations: 287.7 kB / 2.336 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/4.559, allocations: 0 / 2.336 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/4.56, allocations: 55.94 kB / 2.336 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/4.56, allocations: 52.7 kB / 2.337 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/4.56, allocations: 35.98 kB / 2.337 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004269/4.56, allocations: 455.1 kB / 2.337 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00158/4.562, allocations: 454.5 kB / 2.337 GB, free: 39.24 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.001395/4.563, allocations: 1.048 MB / 2.338 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001046/4.564, allocations: 0.6942 MB / 2.339 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/4.564, allocations: 0 / 2.339 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/4.565, allocations: 452.7 kB / 2.34 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/4.566, allocations: 231.6 kB / 2.34 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/4.569, allocations: 1.549 MB / 2.341 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/4.57, allocations: 1.213 MB / 2.342 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/4.57, allocations: 0 / 2.342 GB, free: 34.07 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)