Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_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.001233/0.001233, allocations: 185.2 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.4603/0.4603, 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.248/1.248, allocations: 221.4 MB / 342.8 MB, free: 5.117 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.0009203/0.00092, allocations: 103.8 kB / 415.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1847/0.1856, allocations: 78.46 MB / 494 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.5847, allocations: 72.29 MB / 0.553 GB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.437/4.021, allocations: 1.684 GB / 2.237 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/4.022, allocations: 87.95 kB / 2.237 GB, free: 129 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.1262/4.148, allocations: 60.4 MB / 2.296 GB, free: 68.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/4.148, allocations: 11.94 kB / 2.296 GB, free: 68.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/4.149, allocations: 190.6 kB / 2.296 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/4.15, allocations: 0.6037 MB / 2.296 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/4.15, allocations: 27.94 kB / 2.296 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/4.15, allocations: 48 kB / 2.296 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/4.151, allocations: 0.9718 MB / 2.297 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/4.152, allocations: 0.7192 MB / 2.298 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/4.152, allocations: 0 / 2.298 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/4.152, allocations: 4 kB / 2.298 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/4.152, allocations: 16 kB / 2.298 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/4.155, allocations: 2.235 MB / 2.3 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/4.156, allocations: 0.6299 MB / 2.301 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/4.156, allocations: 234.8 kB / 2.301 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/4.157, allocations: 36.75 kB / 2.301 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/4.157, allocations: 373.9 kB / 2.302 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=71): time 2.494e-06/4.157, allocations: 0 / 2.302 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71): time 0.001497/4.159, allocations: 0.6171 MB / 2.302 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/4.159, allocations: 248 kB / 2.302 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/4.159, allocations: 0.4983 MB / 2.303 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/4.159, allocations: 29.7 kB / 2.303 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/4.159, allocations: 300 kB / 2.303 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/4.16, allocations: 216.7 kB / 2.303 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/4.16, allocations: 0 / 2.303 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001231/4.16, allocations: 374.8 kB / 2.304 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/4.16, allocations: 185.3 kB / 2.304 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/4.16, allocations: 294.4 kB / 2.304 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/4.161, allocations: 231 kB / 2.304 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/4.161, allocations: 3.906 kB / 2.304 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001303/4.162, allocations: 0.6327 MB / 2.305 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/4.162, allocations: 8 kB / 2.305 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/4.162, allocations: 0 / 2.305 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/4.163, allocations: 88.73 kB / 2.305 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/4.163, allocations: 139.8 kB / 2.305 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/4.165, allocations: 1.461 MB / 2.307 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/4.166, allocations: 63.61 kB / 2.307 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/4.166, allocations: 27.98 kB / 2.307 GB, free: 56.48 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 (74): * Single equations (assignments): 73 * 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.0001453/4.166, allocations: 116.8 kB / 2.307 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/4.166, allocations: 79.06 kB / 2.307 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/4.168, allocations: 0.8893 MB / 2.308 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/4.168, allocations: 8 kB / 2.308 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/4.168, allocations: 0 / 2.308 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/4.168, allocations: 7.984 kB / 2.308 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/4.169, allocations: 0.7211 MB / 2.309 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/4.169, allocations: 4 kB / 2.309 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/4.169, allocations: 143.8 kB / 2.309 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/4.17, allocations: 80.78 kB / 2.309 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/4.17, allocations: 15.98 kB / 2.309 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/4.172, allocations: 1.468 MB / 2.31 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/4.172, allocations: 0 / 2.31 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001362/4.173, allocations: 0.7372 MB / 2.311 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001669/4.175, allocations: 1.152 MB / 2.312 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/4.175, allocations: 268 kB / 2.312 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/4.175, allocations: 4 kB / 2.312 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/4.176, allocations: 63.84 kB / 2.312 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/4.176, allocations: 44.7 kB / 2.312 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/4.176, allocations: 31.98 kB / 2.313 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004374/4.176, allocations: 402.9 kB / 2.313 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001742/4.178, allocations: 403 kB / 2.313 GB, free: 49.62 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 (82): * Single equations (assignments): 79 * 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.001591/4.18, allocations: 1.054 MB / 2.314 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001021/4.181, allocations: 0.6234 MB / 2.315 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/4.181, allocations: 4.125 kB / 2.315 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006009/4.181, allocations: 440.5 kB / 2.315 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/4.182, allocations: 204.7 kB / 2.316 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/4.186, allocations: 1.326 MB / 2.317 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006714/4.186, allocations: 1.107 MB / 2.318 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/4.186, allocations: 0 / 2.318 GB, free: 44.86 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)