Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.1/package.mo): time 2.423/2.423, allocations: 248.6 MB / 255.9 MB, free: 7.188 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.001698/0.001698, allocations: 179.9 kB / 315.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.1 MB / 0.5658 GB, free: 356 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001833/0.001833, allocations: 90.45 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4791/0.481, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.7005, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7261/1.427, allocations: 150.8 MB / 1.031 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.427, allocations: 95.55 kB / 1.031 GB, free: 6.859 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.05477/1.482, allocations: 11.79 MB / 1.042 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.482, allocations: 8 kB / 1.042 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/1.483, allocations: 70.61 kB / 1.042 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/1.483, allocations: 224.9 kB / 1.043 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.483, allocations: 11.94 kB / 1.043 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/1.483, allocations: 8 kB / 1.043 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005094/1.484, allocations: 167 kB / 1.043 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/1.484, allocations: 261.9 kB / 1.043 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.484, allocations: 0 / 1.043 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/1.485, allocations: 4 kB / 1.043 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/1.485, allocations: 16.22 kB / 1.043 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/1.488, allocations: 1.622 MB / 1.045 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/1.488, allocations: 71.89 kB / 1.045 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/1.488, allocations: 52.38 kB / 1.045 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/1.488, allocations: 0 / 1.045 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.488, allocations: 33.38 kB / 1.045 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.488, allocations: 0 / 1.045 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0006918/1.489, allocations: 177.9 kB / 1.045 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.489, allocations: 81.11 kB / 1.045 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/1.489, allocations: 193.2 kB / 1.045 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/1.489, allocations: 29.8 kB / 1.045 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.49, allocations: 158.3 kB / 1.045 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/1.49, allocations: 30.98 kB / 1.045 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/1.49, allocations: 4 kB / 1.045 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.49, allocations: 321.8 kB / 1.046 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.49, allocations: 69.8 kB / 1.046 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/1.49, allocations: 160.4 kB / 1.046 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/1.491, allocations: 108.4 kB / 1.046 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.491, allocations: 0 / 1.046 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001227/1.492, allocations: 266.3 kB / 1.046 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006016/1.493, allocations: 1.14 MB / 1.047 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.493, allocations: 0 / 1.047 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/1.493, allocations: 8 kB / 1.048 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/1.493, allocations: 51.91 kB / 1.048 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.493, allocations: 4 kB / 1.048 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/1.494, allocations: 11.98 kB / 1.048 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/1.494, allocations: 11.5 kB / 1.048 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.494, allocations: 4 kB / 1.048 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007231/1.494, allocations: 200 kB / 1.048 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.494, allocations: 7.906 kB / 1.048 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/1.494, allocations: 4.047 kB / 1.048 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/1.495, allocations: 55.02 kB / 1.048 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.495, allocations: 7.938 kB / 1.048 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/1.495, allocations: 11.98 kB / 1.048 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/1.495, allocations: 8 kB / 1.048 GB, free: 7.516 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001302/1.495, allocations: 116.8 kB / 1.048 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/1.495, allocations: 15.97 kB / 1.048 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/1.496, allocations: 125.1 kB / 1.048 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.496, allocations: 0 / 1.048 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.496, allocations: 0 / 1.048 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.496, allocations: 0 / 1.048 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/1.497, allocations: 0.5846 MB / 1.049 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.497, allocations: 4 kB / 1.049 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/1.497, allocations: 19.73 kB / 1.049 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.497, allocations: 4 kB / 1.049 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.497, allocations: 0 / 1.049 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.497, allocations: 4 kB / 1.049 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.497, allocations: 0 / 1.049 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004591/1.498, allocations: 338 kB / 1.049 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000599/1.498, allocations: 0.7163 MB / 1.05 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/1.499, allocations: 107.8 kB / 1.05 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/1.499, allocations: 0 / 1.05 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/1.499, allocations: 4 kB / 1.05 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/1.499, allocations: 11.98 kB / 1.05 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/1.499, allocations: 7.125 kB / 1.05 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003804/1.5, allocations: 154.1 kB / 1.05 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00541/1.505, allocations: 94.95 kB / 1.05 GB, free: 5.137 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0004165/1.506, allocations: 111.1 kB / 1.05 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.507, allocations: 262 kB / 1.05 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.507, allocations: 8 kB / 1.05 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/1.507, allocations: 41.84 kB / 1.05 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/1.508, allocations: 27.11 kB / 1.051 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.509, allocations: 271.6 kB / 1.051 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008305/1.51, allocations: 0.7629 MB / 1.052 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of SimCode: time 1.443e-06/1.51, allocations: 0 / 1.052 GB, free: 3.707 MB / 0.6667 GB