Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001442/0.001442, allocations: 179.4 kB / 7.463 MB, free: 472 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7265/0.7265, allocations: 133.5 MB / 141.4 MB, free: 3.832 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 221.3 MB / 395 MB, free: 14.01 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.05 kB / 477.8 MB, free: 3.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5379/0.539, allocations: 88.44 MB / 0.5529 GB, free: 90.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.7492, allocations: 82.3 MB / 0.6333 GB, free: 38.38 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.9052, allocations: 111.1 MB / 0.7418 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9055, allocations: 75.95 kB / 0.7419 GB, free: 7.035 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008125/0.9137, allocations: 2.715 MB / 0.7445 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.9137, allocations: 11.94 kB / 0.7446 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.9138, allocations: 7.906 kB / 0.7446 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.914, allocations: 175 kB / 0.7447 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.914, allocations: 4 kB / 0.7447 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.914, allocations: 4 kB / 0.7447 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.28e-05/0.9141, allocations: 12 kB / 0.7447 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.9143, allocations: 64.19 kB / 0.7448 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9143, allocations: 0 / 0.7448 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.9143, allocations: 4 kB / 0.7448 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.9143, allocations: 0 / 0.7448 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.9148, allocations: 245.4 kB / 0.745 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.9149, allocations: 34.56 kB / 0.7451 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.915, allocations: 12.86 kB / 0.7451 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.915, allocations: 0 / 0.7451 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.604e-05/0.9151, allocations: 59.5 kB / 0.7451 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.9151, allocations: 3.938 kB / 0.7452 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.9153, allocations: 53.59 kB / 0.7452 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.9154, allocations: 106.8 kB / 0.7453 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.9155, allocations: 96.98 kB / 0.7454 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.9156, allocations: 25.7 kB / 0.7454 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.9156, allocations: 88.14 kB / 0.7455 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.9156, allocations: 7.844 kB / 0.7455 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.9157, allocations: 0 / 0.7455 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9158, allocations: 314.8 kB / 0.7458 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.9158, allocations: 12 kB / 0.7458 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.9159, allocations: 34.56 kB / 0.7459 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.9159, allocations: 11.91 kB / 0.7459 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9159, allocations: 0 / 0.7459 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.16e-05/0.916, allocations: 57.62 kB / 0.7459 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9161, allocations: 4 kB / 0.7459 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9161, allocations: 0 / 0.7459 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9161, allocations: 0 / 0.7459 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.9162, allocations: 12.02 kB / 0.7459 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.9162, allocations: 4 kB / 0.7459 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.9163, allocations: 7.906 kB / 0.746 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.9163, allocations: 11.94 kB / 0.746 GB, free: 2.633 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001128/0.9165, allocations: 105 kB / 0.7461 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.9165, allocations: 4 kB / 0.7461 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.9166, allocations: 7.594 kB / 0.7461 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.9166, allocations: 4.438 kB / 0.7461 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9166, allocations: 0 / 0.7461 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.9166, allocations: 4 kB / 0.7461 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.9167, allocations: 146.2 kB / 0.7462 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9167, allocations: 48 / 0.7462 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.9168, allocations: 19.91 kB / 0.7462 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9168, allocations: 0 / 0.7462 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.9168, allocations: 0 / 0.7462 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9168, allocations: 3.906 kB / 0.7462 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9168, allocations: 0 / 0.7462 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001081/0.9169, allocations: 81.12 kB / 0.7463 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002565/0.9172, allocations: 457.4 kB / 0.7468 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.9173, allocations: 93 kB / 0.7468 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.9173, allocations: 3.938 kB / 0.7469 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.9174, allocations: 15.98 kB / 0.7469 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.9175, allocations: 7.938 kB / 0.7469 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.9175, allocations: 0 / 0.7469 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.417e-05/0.9175, allocations: 83.28 kB / 0.747 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007478/0.9183, allocations: 15.98 kB / 0.747 GB, free: 1.492 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001431/0.9184, allocations: 101.4 kB / 0.7471 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.9185, allocations: 24 kB / 0.7471 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9186, allocations: 4 kB / 0.7471 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.9186, allocations: 12 kB / 0.7471 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.9187, allocations: 11.89 kB / 0.7471 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.919, allocations: 71.86 kB / 0.7472 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.9193, allocations: 0.6954 MB / 0.7479 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.9193, allocations: 0 / 0.7479 GB, free: 0.5234 MB / 0.5294 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)