Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.005493/0.005493, allocations: 180.2 kB / 7.455 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.7208/0.7208, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.617/1.617, 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.001056/0.001056, allocations: 98.72 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5633/0.5644, allocations: 88.44 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.754, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.175/4.929, allocations: 1.693 GB / 2.326 GB, free: 259.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/4.93, allocations: 83.95 kB / 2.326 GB, free: 259.6 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.2183/5.148, allocations: 93.76 MB / 2.418 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/5.148, allocations: 8 kB / 2.418 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/5.15, allocations: 397.3 kB / 2.418 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/5.152, allocations: 1.035 MB / 2.419 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/5.152, allocations: 40 kB / 2.419 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/5.152, allocations: 76 kB / 2.419 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002524/5.155, allocations: 1.875 MB / 2.421 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/5.157, allocations: 1.274 MB / 2.422 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/5.157, allocations: 0 / 2.422 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/5.157, allocations: 4 kB / 2.422 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/5.157, allocations: 32 kB / 2.422 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006654/5.164, allocations: 4.29 MB / 2.427 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/5.166, allocations: 1.26 MB / 2.428 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/5.166, allocations: 481.4 kB / 2.428 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/5.166, allocations: 57.22 kB / 2.428 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008398/5.167, allocations: 0.6859 MB / 2.429 GB, free: 169 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 3.226e-06/5.167, allocations: 0 / 2.429 GB, free: 169 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.002936/5.17, allocations: 1.248 MB / 2.43 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/5.17, allocations: 462.3 kB / 2.431 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/5.171, allocations: 0.9147 MB / 2.431 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/5.172, allocations: 25.7 kB / 2.432 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/5.172, allocations: 452.6 kB / 2.432 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/5.172, allocations: 429.5 kB / 2.432 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/5.172, allocations: 0 / 2.432 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/5.172, allocations: 357.9 kB / 2.433 GB, free: 165 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/5.173, allocations: 366.5 kB / 2.433 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/5.174, allocations: 0.5853 MB / 2.434 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/5.174, allocations: 495.4 kB / 2.434 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/5.174, allocations: 0 / 2.434 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002923/5.177, allocations: 1.268 MB / 2.435 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/5.177, allocations: 11.94 kB / 2.435 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/5.177, allocations: 0 / 2.435 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/5.179, allocations: 169.6 kB / 2.436 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.18, allocations: 271.6 kB / 2.436 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/5.183, allocations: 2.937 MB / 2.439 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/5.185, allocations: 127.2 kB / 2.439 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/5.185, allocations: 55.95 kB / 2.439 GB, free: 158.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003058/5.185, allocations: 144.8 kB / 2.439 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/5.185, allocations: 138.3 kB / 2.439 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/5.19, allocations: 1.872 MB / 2.441 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/5.19, allocations: 23.84 kB / 2.441 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/5.19, allocations: 3.984 kB / 2.441 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/5.19, allocations: 7.969 kB / 2.441 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/5.192, allocations: 1.327 MB / 2.442 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/5.192, allocations: 0 / 2.442 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/5.193, allocations: 283.7 kB / 2.443 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/5.194, allocations: 177.5 kB / 2.443 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/5.195, allocations: 27.97 kB / 2.443 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/5.198, allocations: 2.957 MB / 2.446 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/5.198, allocations: 4.125 kB / 2.446 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003483/5.201, allocations: 1.468 MB / 2.447 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003158/5.204, allocations: 1.886 MB / 2.449 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/5.205, allocations: 474.7 kB / 2.449 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/5.206, allocations: 4 kB / 2.449 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/5.207, allocations: 115.9 kB / 2.449 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/5.207, allocations: 101.4 kB / 2.45 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/5.207, allocations: 59.97 kB / 2.45 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001021/5.208, allocations: 0.7116 MB / 2.45 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002551/5.211, allocations: 0.5923 MB / 2.451 GB, free: 145.6 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: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/5.212, allocations: 1.125 MB / 2.452 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002036/5.215, allocations: 1.273 MB / 2.453 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/5.215, allocations: 1.031 kB / 2.453 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/5.216, allocations: 0.8488 MB / 2.454 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/5.218, allocations: 436.6 kB / 2.454 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/5.224, allocations: 2.555 MB / 2.457 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/5.225, allocations: 1.517 MB / 2.458 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/5.225, allocations: 3.938 kB / 2.458 GB, free: 137.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)