Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_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.002488/0.002488, allocations: 176.9 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6882/0.6882, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.528/1.528, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009835/0.0009837, allocations: 105.3 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4936/0.4946, allocations: 88.43 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.7282, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.188/5.916, allocations: 1.694 GB / 2.327 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/5.916, allocations: 92.92 kB / 2.327 GB, free: 258.4 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.186/6.102, allocations: 82.3 MB / 2.408 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/6.103, allocations: 8 kB / 2.408 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009743/6.104, allocations: 230.1 kB / 2.408 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/6.105, allocations: 0.7171 MB / 2.409 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/6.105, allocations: 43.98 kB / 2.409 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/6.105, allocations: 64 kB / 2.409 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001515/6.106, allocations: 1.129 MB / 2.41 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/6.108, allocations: 0.9303 MB / 2.411 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/6.108, allocations: 0 / 2.411 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/6.108, allocations: 4 kB / 2.411 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/6.108, allocations: 32 kB / 2.411 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/6.112, allocations: 2.859 MB / 2.413 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/6.113, allocations: 0.6882 MB / 2.414 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/6.113, allocations: 254.8 kB / 2.414 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.536e-05/6.113, allocations: 32.69 kB / 2.414 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000523/6.114, allocations: 394 kB / 2.415 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/6.114, allocations: 0 / 2.415 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.001645/6.115, allocations: 0.6794 MB / 2.415 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/6.115, allocations: 247.9 kB / 2.416 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/6.116, allocations: 0.5544 MB / 2.416 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/6.116, allocations: 25.7 kB / 2.416 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/6.117, allocations: 423.3 kB / 2.417 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/6.117, allocations: 244.3 kB / 2.417 GB, free: 180 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/6.117, allocations: 0 / 2.417 GB, free: 180 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/6.117, allocations: 386.7 kB / 2.417 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/6.117, allocations: 205.5 kB / 2.417 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/6.117, allocations: 319.5 kB / 2.418 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/6.118, allocations: 260.4 kB / 2.418 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/6.118, allocations: 0 / 2.418 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001418/6.119, allocations: 0.7094 MB / 2.419 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/6.119, allocations: 4 kB / 2.419 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/6.119, allocations: 0 / 2.419 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/6.12, allocations: 80.84 kB / 2.419 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/6.121, allocations: 151.8 kB / 2.419 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/6.122, allocations: 1.457 MB / 2.42 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/6.123, allocations: 71.52 kB / 2.42 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/6.123, allocations: 27.97 kB / 2.42 GB, free: 176.2 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 (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.000176/6.123, allocations: 116.9 kB / 2.421 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/6.123, allocations: 82.97 kB / 2.421 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/6.125, allocations: 0.9495 MB / 2.422 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/6.125, allocations: 8 kB / 2.422 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/6.125, allocations: 4 kB / 2.422 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/6.125, allocations: 7.969 kB / 2.422 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/6.126, allocations: 0.8489 MB / 2.422 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/6.126, allocations: 0 / 2.422 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/6.127, allocations: 151.8 kB / 2.423 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/6.128, allocations: 92.7 kB / 2.423 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/6.128, allocations: 15.98 kB / 2.423 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/6.129, allocations: 1.472 MB / 2.424 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/6.129, allocations: 0 / 2.424 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001527/6.131, allocations: 0.7956 MB / 2.425 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001584/6.132, allocations: 1.194 MB / 2.426 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/6.133, allocations: 287.7 kB / 2.426 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/6.133, allocations: 0 / 2.426 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/6.134, allocations: 55.95 kB / 2.426 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/6.134, allocations: 56.69 kB / 2.426 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/6.134, allocations: 31.92 kB / 2.426 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006417/6.134, allocations: 455.1 kB / 2.427 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002163/6.137, allocations: 458.5 kB / 2.427 GB, free: 168.9 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 (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.001861/6.138, allocations: 1.054 MB / 2.428 GB, free: 168 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001327/6.14, allocations: 0.6824 MB / 2.429 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/6.14, allocations: 0 / 2.429 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/6.14, allocations: 472.6 kB / 2.429 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/6.142, allocations: 217.6 kB / 2.43 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/6.146, allocations: 1.553 MB / 2.431 GB, free: 165 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008129/6.147, allocations: 1.221 MB / 2.432 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/6.147, allocations: 0 / 2.432 GB, free: 163.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)