Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7392/0.7392, allocations: 141.8 MB / 149.1 MB, free: 12.27 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.5 kB / 181.9 MB, free: 9.066 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 436 MB, free: 1.434 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 90.12 kB / 0.507 GB, free: 10.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001897, allocations: 281.4 kB / 0.5884 GB, free: 7.145 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2073/0.2092, allocations: 89.66 MB / 0.676 GB, free: 13.4 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.612, allocations: 82.76 MB / 0.7568 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.822/4.434, allocations: 1.691 GB / 2.447 GB, free: 58.42 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/4.434, allocations: 101.5 kB / 2.447 GB, free: 58.32 MB / 0.6982 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.6342/5.069, allocations: 60.39 MB / 2.506 GB, free: 232.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/5.069, allocations: 6.594 kB / 2.506 GB, free: 232.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009445/5.07, allocations: 197.6 kB / 2.507 GB, free: 232.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/5.071, allocations: 0.6084 MB / 2.507 GB, free: 232.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/5.071, allocations: 26.69 kB / 2.507 GB, free: 232.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/5.071, allocations: 46.16 kB / 2.507 GB, free: 232.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/5.072, allocations: 0.9733 MB / 2.508 GB, free: 232.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/5.073, allocations: 0.7062 MB / 2.509 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/5.073, allocations: 0 / 2.509 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/5.073, allocations: 3.906 kB / 2.509 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/5.073, allocations: 16.84 kB / 2.509 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/5.077, allocations: 2.253 MB / 2.511 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/5.078, allocations: 0.6199 MB / 2.512 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/5.078, allocations: 238.2 kB / 2.512 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/5.078, allocations: 30.84 kB / 2.512 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/5.079, allocations: 371.8 kB / 2.512 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=71): time 3.126e-06/5.079, allocations: 0 / 2.512 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=71): time 0.001611/5.08, allocations: 0.6257 MB / 2.513 GB, free: 231.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/5.081, allocations: 241.1 kB / 2.513 GB, free: 231.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/5.081, allocations: 0.4991 MB / 2.514 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/5.081, allocations: 29.23 kB / 2.514 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/5.082, allocations: 301.6 kB / 2.514 GB, free: 231 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/5.082, allocations: 220 kB / 2.514 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/5.082, allocations: 0 / 2.514 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001391/5.082, allocations: 382.2 kB / 2.515 GB, free: 230.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/5.082, allocations: 181.9 kB / 2.515 GB, free: 230.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/5.083, allocations: 291.2 kB / 2.515 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/5.083, allocations: 227.6 kB / 2.515 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/5.083, allocations: 3.578 kB / 2.515 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00179/5.085, allocations: 0.6337 MB / 2.516 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/5.085, allocations: 5.625 kB / 2.516 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/5.085, allocations: 0 / 2.516 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/5.086, allocations: 91.83 kB / 2.516 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/5.086, allocations: 134.6 kB / 2.516 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/5.088, allocations: 1.455 MB / 2.518 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/5.089, allocations: 70.31 kB / 2.518 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/5.089, allocations: 23.94 kB / 2.518 GB, free: 229.1 MB / 0.6982 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.0001883/5.089, allocations: 121 kB / 2.518 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/5.09, allocations: 69.5 kB / 2.518 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/5.092, allocations: 0.8973 MB / 2.519 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/5.092, allocations: 8.406 kB / 2.519 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/5.092, allocations: 0 / 2.519 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/5.092, allocations: 10.58 kB / 2.519 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/5.093, allocations: 0.7322 MB / 2.519 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/5.093, allocations: 0 / 2.519 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/5.094, allocations: 138.3 kB / 2.52 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/5.094, allocations: 85.06 kB / 2.52 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/5.094, allocations: 16.09 kB / 2.52 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/5.096, allocations: 1.485 MB / 2.521 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.096, allocations: 0 / 2.521 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001402/5.097, allocations: 0.7308 MB / 2.522 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001579/5.099, allocations: 1.141 MB / 2.523 GB, free: 226.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/5.099, allocations: 266 kB / 2.523 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/5.1, allocations: 7.344 kB / 2.523 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/5.1, allocations: 58.7 kB / 2.523 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/5.1, allocations: 48.25 kB / 2.523 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/5.1, allocations: 34.7 kB / 2.523 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005978/5.101, allocations: 409.4 kB / 2.524 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001967/5.103, allocations: 403.4 kB / 2.524 GB, free: 226.5 MB / 0.6982 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.00199/5.105, allocations: 1.053 MB / 2.525 GB, free: 226.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001342/5.106, allocations: 0.6309 MB / 2.526 GB, free: 226.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/5.106, allocations: 3.406 kB / 2.526 GB, free: 226.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007024/5.107, allocations: 429.6 kB / 2.526 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/5.108, allocations: 217.7 kB / 2.526 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/5.112, allocations: 1.312 MB / 2.528 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/5.113, allocations: 1.113 MB / 2.529 GB, free: 225 MB / 0.6982 GB Notification: Performance of SimCode: time 5.71e-07/5.113, allocations: 0 / 2.529 GB, free: 225 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)