Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_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.003948/0.003948, allocations: 181.5 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6884/0.6884, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 94.19 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5241/0.5252, allocations: 88.44 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.7778, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.875/5.653, allocations: 1.693 GB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/5.654, allocations: 93.22 kB / 2.327 GB, free: 259 MB / 0.6823 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.1414/5.795, allocations: 60.38 MB / 2.385 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/5.795, allocations: 12 kB / 2.386 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/5.796, allocations: 194.6 kB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/5.797, allocations: 0.6075 MB / 2.386 GB, free: 212 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/5.797, allocations: 24 kB / 2.386 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/5.797, allocations: 44 kB / 2.386 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001386/5.799, allocations: 0.9718 MB / 2.387 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/5.8, allocations: 0.7115 MB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/5.8, allocations: 0 / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/5.8, allocations: 7.906 kB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/5.8, allocations: 20 kB / 2.388 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/5.803, allocations: 2.243 MB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/5.804, allocations: 0.6383 MB / 2.391 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/5.804, allocations: 234.8 kB / 2.391 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/5.804, allocations: 28.77 kB / 2.391 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/5.805, allocations: 370 kB / 2.391 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 3.727e-06/5.805, allocations: 3.938 kB / 2.391 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.001511/5.806, allocations: 0.6248 MB / 2.392 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/5.806, allocations: 240 kB / 2.392 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/5.807, allocations: 0.5061 MB / 2.393 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/5.807, allocations: 25.7 kB / 2.393 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/5.807, allocations: 300.1 kB / 2.393 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/5.807, allocations: 220.7 kB / 2.393 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/5.807, allocations: 0 / 2.393 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000111/5.807, allocations: 374.8 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/5.808, allocations: 181.3 kB / 2.394 GB, free: 204 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/5.808, allocations: 290.4 kB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/5.808, allocations: 231.1 kB / 2.394 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/5.808, allocations: 4 kB / 2.394 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001349/5.81, allocations: 0.6404 MB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/5.81, allocations: 8 kB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/5.81, allocations: 0 / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/5.81, allocations: 76.84 kB / 2.395 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/5.811, allocations: 143.8 kB / 2.395 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/5.813, allocations: 1.453 MB / 2.397 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/5.814, allocations: 67.61 kB / 2.397 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/5.814, allocations: 27.98 kB / 2.397 GB, free: 200.9 MB / 0.6823 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.0001816/5.814, allocations: 117.7 kB / 2.397 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/5.814, allocations: 79.05 kB / 2.397 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/5.816, allocations: 0.8894 MB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/5.816, allocations: 8 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/5.816, allocations: 7.906 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/5.816, allocations: 3.984 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/5.817, allocations: 0.7319 MB / 2.398 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/5.817, allocations: 3.984 kB / 2.398 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/5.818, allocations: 143.8 kB / 2.399 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/5.818, allocations: 84.69 kB / 2.399 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/5.818, allocations: 19.98 kB / 2.399 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/5.82, allocations: 1.48 MB / 2.4 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.82, allocations: 0 / 2.4 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/5.821, allocations: 0.7372 MB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001434/5.823, allocations: 1.136 MB / 2.402 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/5.823, allocations: 271.9 kB / 2.402 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/5.823, allocations: 0 / 2.402 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/5.824, allocations: 59.95 kB / 2.402 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/5.824, allocations: 52.61 kB / 2.402 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/5.824, allocations: 31.97 kB / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004673/5.824, allocations: 410.8 kB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001887/5.826, allocations: 395.1 kB / 2.403 GB, free: 194 MB / 0.6823 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.001652/5.828, allocations: 1.045 MB / 2.404 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001204/5.829, allocations: 0.635 MB / 2.405 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/5.829, allocations: 4 kB / 2.405 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006021/5.83, allocations: 432.8 kB / 2.405 GB, free: 192 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/5.831, allocations: 204.9 kB / 2.405 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/5.834, allocations: 1.322 MB / 2.407 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/5.835, allocations: 1.123 MB / 2.408 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/5.835, allocations: 0 / 2.408 GB, free: 189.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)