Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 165.3 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 94.2 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3648/0.3657, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.5412, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5404/1.082, allocations: 155.4 MB / 1.036 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.082, allocations: 96.77 kB / 1.036 GB, free: 0.707 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.04312/1.125, allocations: 17.85 MB / 1.054 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.125, allocations: 8 kB / 1.054 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/1.126, allocations: 103 kB / 1.054 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/1.126, allocations: 279.2 kB / 1.054 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.126, allocations: 4 kB / 1.054 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/1.126, allocations: 15.06 kB / 1.054 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003958/1.127, allocations: 252.8 kB / 1.055 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/1.127, allocations: 352 kB / 1.055 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.127, allocations: 7.938 kB / 1.055 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/1.127, allocations: 0 / 1.055 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/1.127, allocations: 23.67 kB / 1.055 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/1.129, allocations: 1.616 MB / 1.056 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/1.13, allocations: 336.1 kB / 1.057 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/1.13, allocations: 156.9 kB / 1.057 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/1.13, allocations: 93.08 kB / 1.057 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/1.13, allocations: 226.9 kB / 1.057 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/1.13, allocations: 0 / 1.057 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.0008992/1.131, allocations: 430.5 kB / 1.058 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.131, allocations: 81.11 kB / 1.058 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/1.132, allocations: 191.3 kB / 1.058 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/1.132, allocations: 29.8 kB / 1.058 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/1.132, allocations: 142.5 kB / 1.058 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/1.132, allocations: 95.97 kB / 1.058 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/1.132, allocations: 0 / 1.058 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.132, allocations: 337.2 kB / 1.059 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/1.132, allocations: 134.3 kB / 1.059 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/1.132, allocations: 205.9 kB / 1.059 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/1.133, allocations: 159.5 kB / 1.059 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.133, allocations: 0 / 1.059 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007297/1.133, allocations: 438 kB / 1.059 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000366/1.134, allocations: 0.8642 MB / 1.06 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.134, allocations: 4 kB / 1.06 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/1.134, allocations: 51.5 kB / 1.06 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/1.134, allocations: 86.94 kB / 1.06 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/1.136, allocations: 1.408 MB / 1.062 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.136, allocations: 47.91 kB / 1.062 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.136, allocations: 15.5 kB / 1.062 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/1.136, allocations: 8 kB / 1.062 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006392/1.137, allocations: 350.5 kB / 1.062 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/1.137, allocations: 0 / 1.062 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/1.137, allocations: 47.88 kB / 1.062 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/1.137, allocations: 87.78 kB / 1.062 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/1.139, allocations: 1.403 MB / 1.064 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/1.139, allocations: 43.88 kB / 1.064 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/1.139, allocations: 15.38 kB / 1.064 GB, free: 8.277 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.139, allocations: 116.8 kB / 1.064 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/1.139, allocations: 31.61 kB / 1.064 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/1.14, allocations: 388.6 kB / 1.064 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.14, allocations: 4 kB / 1.064 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.14, allocations: 3.938 kB / 1.064 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.14, allocations: 4 kB / 1.064 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/1.14, allocations: 0.5176 MB / 1.065 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.14, allocations: 3.938 kB / 1.065 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/1.141, allocations: 78.78 kB / 1.065 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/1.141, allocations: 36.09 kB / 1.065 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/1.141, allocations: 3.938 kB / 1.065 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/1.142, allocations: 1.346 MB / 1.066 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.142, allocations: 0 / 1.066 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006916/1.143, allocations: 0.5062 MB / 1.067 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008183/1.144, allocations: 0.8731 MB / 1.068 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/1.144, allocations: 132.4 kB / 1.068 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/1.144, allocations: 8 kB / 1.068 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/1.144, allocations: 31.95 kB / 1.068 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/1.144, allocations: 38.86 kB / 1.068 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/1.144, allocations: 8 kB / 1.068 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001356/1.145, allocations: 159.2 kB / 1.068 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001669/1.146, allocations: 133.6 kB / 1.068 GB, free: 4.059 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/1.146, allocations: 123.1 kB / 1.068 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.147, allocations: 0.7742 MB / 1.069 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.147, allocations: 0 / 1.069 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/1.148, allocations: 273.6 kB / 1.069 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/1.148, allocations: 43.66 kB / 1.069 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/1.149, allocations: 478.2 kB / 1.07 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/1.15, allocations: 0.8218 MB / 1.07 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/1.15, allocations: 4 kB / 1.07 GB, free: 1.73 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)