Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",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 8.1.4-maint.8.1.x/package.mo): time 1.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009902/0.0009901, allocations: 181.3 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.2 MB / 0.6256 GB, free: 5.863 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 93.34 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1946/0.1955, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.6391, allocations: 116.3 MB / 0.9727 GB, free: 68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.8111, allocations: 180.1 MB / 1.149 GB, free: 276 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.8114, allocations: 95.92 kB / 1.149 GB, free: 180 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1033/0.9147, allocations: 45.23 MB / 1.193 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.9147, allocations: 8 kB / 1.193 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008842/0.9236, allocations: 1.255 MB / 1.194 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.9245, allocations: 0.6185 MB / 1.195 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.9246, allocations: 20 kB / 1.195 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.9247, allocations: 40 kB / 1.195 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002007/0.9267, allocations: 1.342 MB / 1.196 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.9285, allocations: 1.379 MB / 1.197 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9285, allocations: 0 / 1.197 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.9287, allocations: 4 kB / 1.197 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.9289, allocations: 145.5 kB / 1.198 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008652/0.9376, allocations: 6.549 MB / 1.204 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/0.9386, allocations: 0.8415 MB / 1.205 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/0.9393, allocations: 0.5757 MB / 1.205 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/0.9412, allocations: 1.477 MB / 1.207 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.9412, allocations: 50.5 kB / 1.207 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.9412, allocations: 0 / 1.207 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.01001/0.9512, allocations: 4.179 MB / 1.211 GB, free: 15.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.9513, allocations: 89.98 kB / 1.211 GB, free: 15.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.9518, allocations: 485.9 kB / 1.211 GB, free: 14.89 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.704e-05/0.9519, allocations: 25.7 kB / 1.211 GB, free: 14.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.9521, allocations: 355.1 kB / 1.212 GB, free: 14.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.9523, allocations: 354.7 kB / 1.212 GB, free: 14.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.9524, allocations: 3.938 kB / 1.212 GB, free: 14.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9526, allocations: 390.8 kB / 1.213 GB, free: 13.76 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.9536, allocations: 0.7562 MB / 1.213 GB, free: 13 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.9548, allocations: 1.081 MB / 1.214 GB, free: 11.78 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.9567, allocations: 1.026 MB / 1.215 GB, free: 10.76 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9567, allocations: 0 / 1.215 GB, free: 10.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006582/0.9633, allocations: 2.941 MB / 1.218 GB, free: 7.793 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/0.9644, allocations: 3.907 MB / 1.222 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9644, allocations: 12 kB / 1.222 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/0.9681, allocations: 0.9554 MB / 1.223 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.9701, allocations: 391.4 kB / 1.223 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.9804, allocations: 8.362 MB / 1.231 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.9825, allocations: 203.6 kB / 1.232 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.9826, allocations: 67.97 kB / 1.232 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.9826, allocations: 4 kB / 1.232 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004599/0.9872, allocations: 2.332 MB / 1.234 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.9873, allocations: 8 kB / 1.234 GB, free: 6.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.9889, allocations: 0.5735 MB / 1.235 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.9909, allocations: 415.4 kB / 1.235 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2314/1.222, allocations: 8.092 MB / 1.243 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.224, allocations: 195.7 kB / 1.243 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/1.225, allocations: 61.27 kB / 1.243 GB, free: 292.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/1.225, allocations: 133.8 kB / 1.243 GB, free: 292.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/1.225, allocations: 85.78 kB / 1.243 GB, free: 292.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006672/1.232, allocations: 3.003 MB / 1.246 GB, free: 292.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.232, allocations: 7.875 kB / 1.246 GB, free: 292.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.232, allocations: 7.875 kB / 1.246 GB, free: 292.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.232, allocations: 3.891 kB / 1.246 GB, free: 292.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007952/1.24, allocations: 4.562 MB / 1.251 GB, free: 291.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.24, allocations: 6.312 kB / 1.251 GB, free: 291.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.241, allocations: 295.5 kB / 1.251 GB, free: 291.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.245, allocations: 1.038 MB / 1.252 GB, free: 291.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.245, allocations: 21.5 kB / 1.252 GB, free: 291.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009928/1.255, allocations: 9.694 MB / 1.262 GB, free: 287 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.255, allocations: 9.281 kB / 1.262 GB, free: 287 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00541/1.26, allocations: 3.121 MB / 1.265 GB, free: 286.1 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005465/1.266, allocations: 3.515 MB / 1.268 GB, free: 284.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/1.266, allocations: 337.2 kB / 1.268 GB, free: 284.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.267, allocations: 10.92 kB / 1.268 GB, free: 284.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.269, allocations: 230 kB / 1.269 GB, free: 284.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.269, allocations: 76.58 kB / 1.269 GB, free: 284.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.269, allocations: 46.11 kB / 1.269 GB, free: 284.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003879/1.269, allocations: 360 kB / 1.269 GB, free: 284.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003494/1.273, allocations: 0.5094 MB / 1.27 GB, free: 284.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/1.273, allocations: 136.6 kB / 1.27 GB, free: 284.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006289/1.279, allocations: 3.907 MB / 1.273 GB, free: 283.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.279, allocations: 0 / 1.273 GB, free: 283.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.282, allocations: 1.535 MB / 1.275 GB, free: 283.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/1.283, allocations: 121.3 kB / 1.275 GB, free: 283.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/1.291, allocations: 2.624 MB / 1.278 GB, free: 282.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000993/1.292, allocations: 1.184 MB / 1.279 GB, free: 282.2 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/1.292, allocations: 0 / 1.279 GB, free: 282.2 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)