Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001099/0.001099, allocations: 187.8 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.459/0.459, 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.373/1.373, allocations: 221.4 MB / 342.8 MB, free: 5.246 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.0009573/0.0009573, allocations: 92.25 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1885/0.1895, allocations: 78.45 MB / 494 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.654, allocations: 72.29 MB / 0.553 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.753/4.407, allocations: 1.688 GB / 2.241 GB, free: 138 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/4.407, allocations: 83.95 kB / 2.241 GB, free: 137.9 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.2191/4.626, allocations: 102.3 MB / 2.341 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/4.626, allocations: 12 kB / 2.341 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/4.64, allocations: 2.12 MB / 2.343 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/4.642, allocations: 1.056 MB / 2.344 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.598e-05/4.642, allocations: 68.64 kB / 2.344 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/4.642, allocations: 112 kB / 2.344 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0046/4.647, allocations: 2.854 MB / 2.347 GB, free: 29.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/4.65, allocations: 2.18 MB / 2.349 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/4.65, allocations: 0 / 2.349 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/4.651, allocations: 0.6562 kB / 2.349 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/4.651, allocations: 48 kB / 2.349 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/4.664, allocations: 6.887 MB / 2.356 GB, free: 19.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/4.666, allocations: 1.839 MB / 2.357 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/4.668, allocations: 1.014 MB / 2.358 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007448/4.668, allocations: 0.4955 MB / 2.359 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/4.67, allocations: 1.266 MB / 2.36 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=195): time 3.867e-06/4.67, allocations: 0.6562 kB / 2.36 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195): time 0.004962/4.675, allocations: 2.23 MB / 2.362 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/4.675, allocations: 253.3 kB / 2.363 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/4.676, allocations: 0.6487 MB / 2.363 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/4.676, allocations: 29.7 kB / 2.363 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/4.677, allocations: 0.5394 MB / 2.364 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/4.677, allocations: 0.604 MB / 2.364 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/4.677, allocations: 1.125 kB / 2.364 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000116/4.677, allocations: 422.7 kB / 2.365 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/4.678, allocations: 0.7694 MB / 2.366 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/4.68, allocations: 0.9503 MB / 2.366 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/4.682, allocations: 1.033 MB / 2.367 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/4.682, allocations: 0 / 2.367 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004812/4.687, allocations: 2.285 MB / 2.37 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/4.687, allocations: 8 kB / 2.37 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/4.687, allocations: 0 / 2.37 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/4.687, allocations: 88.84 kB / 2.37 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/4.691, allocations: 0.5773 MB / 2.37 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/4.693, allocations: 1.465 MB / 2.372 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/4.697, allocations: 304.3 kB / 2.372 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/4.697, allocations: 91.89 kB / 2.372 GB, free: 2.605 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.0004434/4.697, allocations: 136.5 kB / 2.372 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/4.698, allocations: 122.5 kB / 2.372 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2194/4.917, allocations: 2.929 MB / 2.375 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/4.917, allocations: 20.84 kB / 2.375 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/4.917, allocations: 5.844 kB / 2.375 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/4.917, allocations: 7.734 kB / 2.375 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00872/4.926, allocations: 4.883 MB / 2.38 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/4.926, allocations: 4.188 kB / 2.38 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/4.929, allocations: 0.5601 MB / 2.381 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/4.93, allocations: 89.86 kB / 2.381 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/4.93, allocations: 45.25 kB / 2.381 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/4.932, allocations: 1.481 MB / 2.382 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/4.932, allocations: 3.797 kB / 2.382 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00555/4.938, allocations: 2.425 MB / 2.385 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005134/4.943, allocations: 2.849 MB / 2.387 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/4.944, allocations: 0.5298 MB / 2.388 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/4.944, allocations: 9.219 kB / 2.388 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/4.947, allocations: 244.4 kB / 2.388 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/4.947, allocations: 116.8 kB / 2.388 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/4.948, allocations: 78.17 kB / 2.388 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007846/4.949, allocations: 0.5384 MB / 2.389 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002729/4.951, allocations: 0.6742 MB / 2.39 GB, free: 220.7 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.001784/4.953, allocations: 1.091 MB / 2.391 GB, free: 220.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003453/4.957, allocations: 2.13 MB / 2.393 GB, free: 220.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/4.957, allocations: 0 / 2.393 GB, free: 220.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/4.958, allocations: 1.242 MB / 2.394 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/4.96, allocations: 228.7 kB / 2.394 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/4.967, allocations: 2.832 MB / 2.397 GB, free: 219.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/4.97, allocations: 1.648 MB / 2.398 GB, free: 219.1 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/4.97, allocations: 3.812 kB / 2.398 GB, free: 219.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)