Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 108.7 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 197.4 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06162/0.06162, allocations: 12.17 MB / 315.6 MB, free: 276 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.08 kB / 439.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2696, allocations: 55.16 MB / 494.7 MB, free: 23.81 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.003756/0.2734, allocations: 2.829 MB / 497.5 MB, free: 21.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2746, allocations: 0.7609 MB / 498.3 MB, free: 21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2748, allocations: 7.938 kB / 498.3 MB, free: 21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.2751, allocations: 68.91 kB / 498.4 MB, free: 20.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.2753, allocations: 54.36 kB / 498.4 MB, free: 20.89 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.276, allocations: 222.8 kB / 498.6 MB, free: 20.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.2764, allocations: 317.8 kB / 498.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.2767, allocations: 132 kB / 499.1 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.2769, allocations: 159 kB / 499.2 MB, free: 20.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.2771, allocations: 188.7 kB / 499.4 MB, free: 20.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.2772, allocations: 39.75 kB / 499.4 MB, free: 20.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.2775, allocations: 145 kB / 499.6 MB, free: 20.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2776, allocations: 114.8 kB / 499.7 MB, free: 20.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2778, allocations: 171.7 kB / 499.9 MB, free: 19.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.2784, allocations: 0.5213 MB / 0.4887 GB, free: 19.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2785, allocations: 5.031 kB / 0.4887 GB, free: 19.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2785, allocations: 4 kB / 0.4887 GB, free: 19.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2785, allocations: 0 / 0.4887 GB, free: 19.54 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001438/0.2799, allocations: 0.8805 MB / 0.4895 GB, free: 18.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2799, allocations: 8.75 kB / 0.4895 GB, free: 18.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.28, allocations: 71.66 kB / 0.4896 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.2801, allocations: 44.06 kB / 0.4896 GB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.2804, allocations: 300.8 kB / 0.4899 GB, free: 18.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.2804, allocations: 26.7 kB / 0.49 GB, free: 18.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.2805, allocations: 31.25 kB / 0.49 GB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.281, allocations: 401 kB / 0.4904 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.281, allocations: 7.875 kB / 0.4904 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.2811, allocations: 12.38 kB / 0.4904 GB, free: 18.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2811, allocations: 9.188 kB / 0.4904 GB, free: 18.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.2814, allocations: 211 kB / 0.4906 GB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.2827, allocations: 1.308 MB / 0.4919 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.2831, allocations: 260.7 kB / 0.4921 GB, free: 16.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2833, allocations: 130.9 kB / 0.4923 GB, free: 16.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.2833, allocations: 12 kB / 0.4923 GB, free: 16.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.2837, allocations: 234.7 kB / 0.4925 GB, free: 16.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.2837, allocations: 0 / 0.4925 GB, free: 16.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008666/0.2845, allocations: 487.4 kB / 0.493 GB, free: 16.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.2846, allocations: 172.5 kB / 0.4931 GB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2848, allocations: 233.6 kB / 0.4933 GB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.2848, allocations: 40.36 kB / 0.4934 GB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.2849, allocations: 182.2 kB / 0.4936 GB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.285, allocations: 93.48 kB / 0.4936 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2851, allocations: 111.2 kB / 0.4937 GB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.2851, allocations: 333.8 kB / 0.4941 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.2853, allocations: 108.8 kB / 0.4942 GB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.2855, allocations: 275.6 kB / 0.4944 GB, free: 14.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.2859, allocations: 402.2 kB / 0.4948 GB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2859, allocations: 5.156 kB / 0.4948 GB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006184/0.2866, allocations: 437.9 kB / 0.4952 GB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2866, allocations: 8.625 kB / 0.4952 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2866, allocations: 6.375 kB / 0.4953 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.2866, allocations: 12.19 kB / 0.4953 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2869, allocations: 67.62 kB / 0.4953 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.2869, allocations: 8.062 kB / 0.4953 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.287, allocations: 46.25 kB / 0.4954 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2871, allocations: 21.47 kB / 0.4954 GB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.2873, allocations: 199.2 kB / 0.4956 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.2873, allocations: 28.16 kB / 0.4956 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.2878, allocations: 301.6 kB / 0.4959 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2878, allocations: 8.453 kB / 0.4959 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2878, allocations: 2.031 kB / 0.4959 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.2878, allocations: 1 kB / 0.4959 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/0.2886, allocations: 0.774 MB / 0.4967 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2887, allocations: 1.062 kB / 0.4967 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.2887, allocations: 9.781 kB / 0.4967 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2887, allocations: 6.062 kB / 0.4967 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.2887, allocations: 13.64 kB / 0.4967 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2887, allocations: 6.375 kB / 0.4967 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2887, allocations: 5.25 kB / 0.4967 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.2893, allocations: 0.4891 MB / 0.4972 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2893, allocations: 105.2 kB / 0.4973 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.2894, allocations: 11.95 kB / 0.4973 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2895, allocations: 5.859 kB / 0.4973 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.2895, allocations: 22.33 kB / 0.4973 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.2896, allocations: 18.58 kB / 0.4973 GB, free: 12.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.2897, allocations: 126.4 kB / 0.4975 GB, free: 12.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2897, allocations: 0 / 0.4975 GB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.2902, allocations: 125 kB / 0.4976 GB, free: 12.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.2915, allocations: 1.237 MB / 0.4988 GB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.292, allocations: 301.6 kB / 0.4991 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.292, allocations: 4.438 kB / 0.4991 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2922, allocations: 119.2 kB / 0.4992 GB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.2926, allocations: 53.7 kB / 0.4992 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.2954, allocations: 3.033 MB / 0.5022 GB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2955, allocations: 0.7821 MB / 0.503 GB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.2957, allocations: 41.83 kB / 0.503 GB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2958, allocations: 97.3 kB / 0.5031 GB, free: 7.988 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.2958, allocations: 0 / 0.5031 GB, free: 7.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.3299, allocations: 6.984 MB / 0.5099 GB, free: 3.121 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0521017629653215] Failed to read output from testmodel.py, exit status != 0: 0.7039309050887823 0.730608839 0.44719154099999997 Calling exit ...