Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001772/0.001772, allocations: 186.4 kB / 7.46 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7173/0.7173, allocations: 133.5 MB / 141.4 MB, free: 4.867 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.4 MB / 395 MB, free: 13.77 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 94.36 kB / 477.8 MB, free: 11.06 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.4678/0.4694, allocations: 88.44 MB / 0.5529 GB, free: 49.91 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/1.187, allocations: 82.29 MB / 0.6333 GB, free: 5.629 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.368/5.555, allocations: 1.693 GB / 2.326 GB, free: 69.96 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/5.556, allocations: 83.02 kB / 2.326 GB, free: 69.92 MB / 0.6746 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.1441/5.7, allocations: 65.05 MB / 2.39 GB, free: 11.16 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/5.7, allocations: 12 kB / 2.39 GB, free: 11.14 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008904/5.701, allocations: 190.6 kB / 2.39 GB, free: 10.96 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/5.702, allocations: 0.6076 MB / 2.39 GB, free: 10.3 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/5.702, allocations: 24 kB / 2.39 GB, free: 10.28 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/5.702, allocations: 44 kB / 2.391 GB, free: 10.24 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001317/5.703, allocations: 0.9757 MB / 2.391 GB, free: 9.262 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/5.704, allocations: 0.7232 MB / 2.392 GB, free: 8.496 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/5.704, allocations: 0 / 2.392 GB, free: 8.496 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/5.704, allocations: 4 kB / 2.392 GB, free: 8.492 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/5.704, allocations: 23.98 kB / 2.392 GB, free: 8.469 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/5.708, allocations: 2.294 MB / 2.394 GB, free: 6.113 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008988/5.708, allocations: 0.728 MB / 2.395 GB, free: 5.359 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/5.709, allocations: 242.8 kB / 2.395 GB, free: 5.121 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/5.709, allocations: 32.61 kB / 2.395 GB, free: 5.09 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/5.709, allocations: 370 kB / 2.396 GB, free: 4.711 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/5.709, allocations: 0 / 2.396 GB, free: 4.711 MB / 0.6746 GB Notification: Performance of matching and sorting (n=70): time 0.00141/5.711, allocations: 0.6248 MB / 2.396 GB, free: 4.074 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/5.711, allocations: 244 kB / 2.397 GB, free: 3.781 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/5.711, allocations: 0.4944 MB / 2.397 GB, free: 3.281 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/5.711, allocations: 25.7 kB / 2.397 GB, free: 3.25 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/5.712, allocations: 292.2 kB / 2.397 GB, free: 2.957 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/5.712, allocations: 224.6 kB / 2.398 GB, free: 2.734 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/5.712, allocations: 3.938 kB / 2.398 GB, free: 2.73 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 0.0001005/5.712, allocations: 374.8 kB / 2.398 GB, free: 2.355 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/5.712, allocations: 189.3 kB / 2.398 GB, free: 2.172 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/5.713, allocations: 286.4 kB / 2.398 GB, free: 1.863 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/5.713, allocations: 235.1 kB / 2.399 GB, free: 1.633 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.713, allocations: 0 / 2.399 GB, free: 1.633 MB / 0.6746 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001306/5.714, allocations: 0.6404 MB / 2.399 GB, free: 0.9805 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/5.714, allocations: 4 kB / 2.399 GB, free: 0.9766 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/5.714, allocations: 4 kB / 2.399 GB, free: 0.9727 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/5.715, allocations: 80.84 kB / 2.399 GB, free: 0.8906 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/5.715, allocations: 131.8 kB / 2.399 GB, free: 0.7617 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4481/6.163, allocations: 1.466 MB / 2.401 GB, free: 153.3 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/6.164, allocations: 60.58 kB / 2.401 GB, free: 153.3 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/6.165, allocations: 34.69 kB / 2.401 GB, free: 153.3 MB / 0.6746 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 (72): * Single equations (assignments): 71 * 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.0002017/6.165, allocations: 112.7 kB / 2.401 GB, free: 153.2 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/6.165, allocations: 70.72 kB / 2.401 GB, free: 153.2 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/6.167, allocations: 0.8927 MB / 2.402 GB, free: 153.2 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/6.167, allocations: 13.89 kB / 2.402 GB, free: 153.2 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/6.167, allocations: 2.516 kB / 2.402 GB, free: 153.2 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/6.167, allocations: 3.797 kB / 2.402 GB, free: 153.2 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/6.17, allocations: 1.682 MB / 2.404 GB, free: 152.9 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/6.17, allocations: 2.906 kB / 2.404 GB, free: 152.9 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/6.17, allocations: 140.8 kB / 2.404 GB, free: 152.9 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/6.171, allocations: 83.23 kB / 2.404 GB, free: 152.9 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/6.171, allocations: 20.91 kB / 2.404 GB, free: 152.9 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/6.173, allocations: 1.491 MB / 2.405 GB, free: 151.6 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/6.173, allocations: 0 / 2.405 GB, free: 151.6 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001658/6.174, allocations: 0.7963 MB / 2.406 GB, free: 151.4 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001838/6.176, allocations: 1.223 MB / 2.407 GB, free: 150.9 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/6.177, allocations: 269.6 kB / 2.408 GB, free: 150.7 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/6.177, allocations: 7.656 kB / 2.408 GB, free: 150.7 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/6.177, allocations: 55.84 kB / 2.408 GB, free: 150.7 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/6.178, allocations: 54.03 kB / 2.408 GB, free: 150.7 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/6.178, allocations: 26.98 kB / 2.408 GB, free: 150.7 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.000455/6.178, allocations: 405.7 kB / 2.408 GB, free: 150.6 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.001753/6.18, allocations: 400.1 kB / 2.409 GB, free: 150.6 MB / 0.6746 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 (81): * Single equations (assignments): 78 * 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.001568/6.181, allocations: 1.054 MB / 2.41 GB, free: 150.5 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.001212/6.183, allocations: 0.6337 MB / 2.41 GB, free: 150.4 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/6.183, allocations: 3.719 kB / 2.41 GB, free: 150.4 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/6.183, allocations: 438.7 kB / 2.411 GB, free: 150.2 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/6.184, allocations: 212.7 kB / 2.411 GB, free: 150.2 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/6.188, allocations: 1.322 MB / 2.412 GB, free: 149.9 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/6.189, allocations: 1.109 MB / 2.413 GB, free: 149.2 MB / 0.6746 GB Notification: Performance of SimCode: time 1.042e-06/6.189, allocations: 0 / 2.413 GB, free: 149.2 MB / 0.6746 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)