Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [: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 3.0.0/package.mo): time 0.7235/0.7235, allocations: 132.4 MB / 139.7 MB, free: 15.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001309/0.001309, allocations: 170.1 kB / 171.6 MB, free: 2.035 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.571/1.571, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001852/0.001852, allocations: 119.3 kB / 444.4 MB, free: 9.387 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5508/0.5508, allocations: 73.39 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.7197, allocations: 119.9 MB / 0.7831 GB, free: 384 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004305/0.7202, allocations: 97.56 kB / 0.7832 GB, free: 288 kB / 490.7 MB Notification: Performance of FrontEnd: time 0.03059/0.7508, allocations: 11.48 MB / 0.7944 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.996e-05/0.7509, allocations: 7.938 kB / 0.7944 GB, free: 4.793 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008015/0.7517, allocations: 452.5 kB / 0.7948 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7517, allocations: 8.031 kB / 0.7948 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/0.7526, allocations: 71.78 kB / 0.7949 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.753, allocations: 230.7 kB / 0.7951 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.7531, allocations: 4 kB / 0.7951 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.7531, allocations: 11.91 kB / 0.7951 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003473/0.7535, allocations: 155.9 kB / 0.7953 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.7539, allocations: 263.1 kB / 0.7955 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.754, allocations: 3.938 kB / 0.7955 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.754, allocations: 4 kB / 0.7956 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.754, allocations: 16.22 kB / 0.7956 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.7564, allocations: 1.404 MB / 0.7969 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.7566, allocations: 69.2 kB / 0.797 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.7567, allocations: 53.81 kB / 0.7971 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.7568, allocations: 0 / 0.7971 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.7568, allocations: 30.56 kB / 0.7971 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.7568, allocations: 7.938 kB / 0.7971 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000779/0.7576, allocations: 181.7 kB / 0.7973 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.7577, allocations: 81.05 kB / 0.7973 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.758, allocations: 201.9 kB / 0.7975 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.7581, allocations: 25.7 kB / 0.7976 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.7582, allocations: 159.5 kB / 0.7977 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.7583, allocations: 27.64 kB / 0.7977 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.7583, allocations: 0 / 0.7977 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7585, allocations: 326.8 kB / 0.798 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.7587, allocations: 71.97 kB / 0.7981 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.7589, allocations: 155.1 kB / 0.7983 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.7592, allocations: 116.9 kB / 0.7984 GB, free: 396 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7592, allocations: 4 kB / 0.7984 GB, free: 392 kB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005548/0.7597, allocations: 261.5 kB / 0.7986 GB, free: 124 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006987/0.7605, allocations: 1.134 MB / 0.7997 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.7605, allocations: 4 kB / 0.7997 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/0.7605, allocations: 15.84 kB / 0.7998 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.7608, allocations: 47.97 kB / 0.7998 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.7609, allocations: 11.94 kB / 0.7998 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.7611, allocations: 11.98 kB / 0.7998 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.7612, allocations: 8 kB / 0.7998 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.7612, allocations: 4 kB / 0.7998 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004729/0.7617, allocations: 200.9 kB / 0.8 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7617, allocations: 8.188 kB / 0.8 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.7617, allocations: 4 kB / 0.8 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.7619, allocations: 51.91 kB / 0.8001 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7619, allocations: 4 kB / 0.8001 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.7621, allocations: 11.91 kB / 0.8001 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.7621, allocations: 14.17 kB / 0.8001 GB, free: 14.52 MB / 0.5105 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.0002065/0.7624, allocations: 114 kB / 0.8002 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.7625, allocations: 15.81 kB / 0.8002 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.7627, allocations: 118.7 kB / 0.8004 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7627, allocations: 0 / 0.8004 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.7628, allocations: 0 / 0.8004 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7628, allocations: 3.938 kB / 0.8004 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.7636, allocations: 0.5859 MB / 0.8009 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.7636, allocations: 0 / 0.8009 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.7637, allocations: 19.98 kB / 0.8009 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.7638, allocations: 3.906 kB / 0.801 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.7638, allocations: 4 kB / 0.801 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7638, allocations: 3.938 kB / 0.801 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.7638, allocations: 4 kB / 0.801 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004034/0.7642, allocations: 337.5 kB / 0.8013 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.7643, allocations: 119.2 kB / 0.8014 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.7644, allocations: 0 / 0.8014 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.7646, allocations: 7.984 kB / 0.8014 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.7646, allocations: 15.91 kB / 0.8014 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.7646, allocations: 4 kB / 0.8014 GB, free: 13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001601/0.7648, allocations: 156.3 kB / 0.8016 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005725/0.7654, allocations: 79.92 kB / 0.8017 GB, free: 12.77 MB / 0.5105 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.0002094/0.7656, allocations: 115.2 kB / 0.8018 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.766, allocations: 271.8 kB / 0.802 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7661, allocations: 0 / 0.802 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.7661, allocations: 47.91 kB / 0.8021 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.7665, allocations: 23.34 kB / 0.8021 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007403/0.7672, allocations: 274.3 kB / 0.8024 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.7678, allocations: 0.7592 MB / 0.8031 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.7678, allocations: 0 / 0.8031 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.007337/0.7752, allocations: 2.493 MB / 0.8055 GB, free: 8.75 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)