Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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/HanserModelica 2.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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.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(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01385/0.01385, allocations: 166.9 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06653/0.06653, allocations: 8.799 MB / 24.67 MB, free: 4.039 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.057/2.057, allocations: 223.2 MB / 250.8 MB, free: 6.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 100.6 kB / 304.1 MB, free: 4.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004938, allocations: 12 kB / 367.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4037, allocations: 52.53 MB / 419.8 MB, free: 48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002165/0.406, allocations: 0.9639 MB / 420.7 MB, free: 47.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.4088, allocations: 1.061 MB / 421.8 MB, free: 46.56 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.4089, allocations: 1.156 kB / 421.8 MB, free: 46.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.4095, allocations: 69.52 kB / 421.9 MB, free: 46.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.4106, allocations: 318.7 kB / 422.2 MB, free: 46.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.646e-06/0.4107, allocations: 1.062 kB / 422.2 MB, free: 46.36 MB / 330.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo:718:9-721:52:writable] Error: Internal error NFEvalFunction.assignArrayElement: unimplemented case for fill(0, if true then div(24, 2) else 24)[1] = 1 Notification: Performance of NFFlatten.flatten: time 0.0007932/0.4115, allocations: 292.7 kB / 422.5 MB, free: 46.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.4115, allocations: 11.05 kB / 422.5 MB, free: 46.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.4116, allocations: 15.83 kB / 422.5 MB, free: 46.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.4117, allocations: 17.64 kB / 422.5 MB, free: 46.28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.4117, allocations: 1.219 kB / 422.5 MB, free: 46.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.4123, allocations: 226.4 kB / 422.7 MB, free: 46.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.4124, allocations: 23.77 kB / 422.8 MB, free: 46.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.4125, allocations: 36.48 kB / 422.8 MB, free: 46.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.4129, allocations: 138.9 kB / 422.9 MB, free: 46.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4129, allocations: 1.219 kB / 422.9 MB, free: 46.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.4129, allocations: 0 / 422.9 MB, free: 46.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4129, allocations: 0 / 422.9 MB, free: 46.12 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005853/0.4135, allocations: 395.8 kB / 423.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.18e-05/0.4136, allocations: 10.25 kB / 423.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.4137, allocations: 106.6 kB / 423.4 MB, free: 45.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.4142, allocations: 114.9 kB / 423.6 MB, free: 45.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4145, allocations: 286.7 kB / 423.8 MB, free: 45.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.4146, allocations: 154.9 kB / 424 MB, free: 45.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.4146, allocations: 152.1 kB / 424.1 MB, free: 44.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.677e-05/0.4147, allocations: 105 kB / 424.2 MB, free: 44.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.4148, allocations: 77.28 kB / 424.3 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.4148, allocations: 153.8 kB / 424.5 MB, free: 44.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.4148, allocations: 154.5 kB / 424.6 MB, free: 44.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.4149, allocations: 155.5 kB / 424.8 MB, free: 44.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.4152, allocations: 486.7 kB / 425.2 MB, free: 43.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4154, allocations: 174.1 kB / 425.4 MB, free: 43.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.4155, allocations: 81.39 kB / 425.5 MB, free: 43.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4155, allocations: 75.98 kB / 425.6 MB, free: 43.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.4155, allocations: 110.8 kB / 425.7 MB, free: 43.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4155, allocations: 0 / 425.7 MB, free: 43.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001046/0.4157, allocations: 39.17 kB / 425.7 MB, free: 43.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.4157, allocations: 134.6 kB / 425.8 MB, free: 43.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.416, allocations: 203.2 kB / 426 MB, free: 43.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4161, allocations: 25.7 kB / 426.1 MB, free: 43.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.4161, allocations: 94.67 kB / 426.2 MB, free: 42.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.4161, allocations: 0.5156 kB / 426.2 MB, free: 42.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4162, allocations: 1.125 kB / 426.2 MB, free: 42.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4163, allocations: 324.7 kB / 426.5 MB, free: 42.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4164, allocations: 44.77 kB / 426.5 MB, free: 42.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4165, allocations: 51.3 kB / 426.6 MB, free: 42.57 MB / 330.7 MB Error: No system for the symbolic initialization was generated