Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.004698/0.004698, allocations: 178.4 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7172/0.7172, 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.699/1.699, allocations: 221.3 MB / 395 MB, free: 10.11 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.001052/0.001051, allocations: 95.62 kB / 477.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4826/0.4837, allocations: 88.43 MB / 0.5529 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.7105, allocations: 82.3 MB / 0.6333 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.152/4.863, allocations: 1.693 GB / 2.326 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/4.863, allocations: 82.27 kB / 2.326 GB, free: 258.9 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.08004/4.943, allocations: 30.83 MB / 2.356 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/4.943, allocations: 8 kB / 2.356 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/4.944, allocations: 98.86 kB / 2.356 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/4.944, allocations: 0.5648 MB / 2.357 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/4.944, allocations: 23.98 kB / 2.357 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/4.945, allocations: 39.91 kB / 2.357 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/4.946, allocations: 0.8689 MB / 2.358 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/4.946, allocations: 0.6047 MB / 2.358 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/4.946, allocations: 0 / 2.358 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/4.946, allocations: 4 kB / 2.358 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/4.946, allocations: 12 kB / 2.358 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/4.949, allocations: 2.254 MB / 2.361 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/4.95, allocations: 0.5633 MB / 2.361 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/4.95, allocations: 199.2 kB / 2.361 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/4.95, allocations: 32.52 kB / 2.361 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/4.95, allocations: 304.5 kB / 2.362 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.078e-06/4.95, allocations: 0 / 2.362 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.0008428/4.951, allocations: 0.4965 MB / 2.362 GB, free: 236 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/4.951, allocations: 295.2 kB / 2.362 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/4.952, allocations: 0.4905 MB / 2.363 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/4.952, allocations: 29.7 kB / 2.363 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/4.952, allocations: 256.4 kB / 2.363 GB, free: 234.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/4.952, allocations: 189.1 kB / 2.363 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/4.952, allocations: 0 / 2.363 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/4.952, allocations: 374.8 kB / 2.364 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/4.953, allocations: 157.3 kB / 2.364 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/4.953, allocations: 276.9 kB / 2.364 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/4.953, allocations: 209.3 kB / 2.364 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/4.953, allocations: 3.906 kB / 2.364 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006871/4.954, allocations: 0.5036 MB / 2.365 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/4.954, allocations: 4 kB / 2.365 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/4.954, allocations: 0 / 2.365 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/4.954, allocations: 8.125 kB / 2.365 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/4.954, allocations: 115.8 kB / 2.365 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/4.954, allocations: 12 kB / 2.365 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/4.955, allocations: 59.58 kB / 2.365 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/4.955, allocations: 27.97 kB / 2.365 GB, free: 232.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/4.955, allocations: 124 kB / 2.365 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/4.955, allocations: 71.09 kB / 2.365 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/4.956, allocations: 0.7176 MB / 2.366 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/4.956, allocations: 12 kB / 2.366 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/4.956, allocations: 3.906 kB / 2.366 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/4.956, allocations: 3.984 kB / 2.366 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/4.957, allocations: 0.8394 MB / 2.367 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/4.957, allocations: 0 / 2.367 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/4.958, allocations: 119.8 kB / 2.367 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/4.958, allocations: 4 kB / 2.367 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/4.958, allocations: 11.98 kB / 2.367 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/4.958, allocations: 4.031 kB / 2.367 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/4.958, allocations: 7.906 kB / 2.367 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000687/4.958, allocations: 0.5915 MB / 2.367 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007835/4.959, allocations: 0.9903 MB / 2.368 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/4.959, allocations: 256 kB / 2.369 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/4.96, allocations: 7.984 kB / 2.369 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/4.96, allocations: 51.81 kB / 2.369 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/4.96, allocations: 44.58 kB / 2.369 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/4.96, allocations: 23.98 kB / 2.369 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003897/4.961, allocations: 406.9 kB / 2.369 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001382/4.962, allocations: 271.3 kB / 2.369 GB, free: 228.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (72): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/4.963, allocations: 0.5039 MB / 2.37 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006355/4.964, allocations: 446.2 kB / 2.37 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/4.964, allocations: 256 / 2.37 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/4.964, allocations: 270.3 kB / 2.371 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/4.965, allocations: 192.8 kB / 2.371 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/4.967, allocations: 0.9861 MB / 2.372 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/4.968, allocations: 1.08 MB / 2.373 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/4.968, allocations: 0 / 2.373 GB, free: 224.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)